From 1256e6fd6b80f71a636ee7550cb136476c412358 Mon Sep 17 00:00:00 2001 From: Zim Kalinowski Date: Wed, 27 Sep 2023 12:24:50 +0200 Subject: [PATCH] fix(examples): Reverted: Fix example build errors caused by the deep_sleep funcs are returnable This reverts commit d521b7d52a0f6df19b6aa0826747d2c367660c49. --- .../blecent_throughput/components/cmd_system/cmd_system.c | 1 - .../system/console/advanced/components/cmd_system/cmd_system.c | 1 - 2 files changed, 2 deletions(-) diff --git a/examples/bluetooth/nimble/throughput_app/blecent_throughput/components/cmd_system/cmd_system.c b/examples/bluetooth/nimble/throughput_app/blecent_throughput/components/cmd_system/cmd_system.c index 060cd61c31..43b3ca3d33 100644 --- a/examples/bluetooth/nimble/throughput_app/blecent_throughput/components/cmd_system/cmd_system.c +++ b/examples/bluetooth/nimble/throughput_app/blecent_throughput/components/cmd_system/cmd_system.c @@ -225,7 +225,6 @@ static int deep_sleep(int argc, char **argv) rtc_gpio_isolate(GPIO_NUM_12); #endif esp_deep_sleep_start(); - return 1; } static void register_deep_sleep(void) diff --git a/examples/system/console/advanced/components/cmd_system/cmd_system.c b/examples/system/console/advanced/components/cmd_system/cmd_system.c index fcb9624488..58b94a5970 100644 --- a/examples/system/console/advanced/components/cmd_system/cmd_system.c +++ b/examples/system/console/advanced/components/cmd_system/cmd_system.c @@ -273,7 +273,6 @@ static int deep_sleep(int argc, char **argv) #endif //CONFIG_IDF_TARGET_ESP32 esp_deep_sleep_start(); - return 1; } static void register_deep_sleep(void)