fix(examples): Reverted: Fix example build errors caused by the deep_sleep funcs are returnable

This reverts commit d521b7d52a.
This commit is contained in:
Zim Kalinowski 2023-09-27 12:24:50 +02:00
parent c4b6f0cf41
commit 1256e6fd6b
2 changed files with 0 additions and 2 deletions

View File

@ -225,7 +225,6 @@ static int deep_sleep(int argc, char **argv)
rtc_gpio_isolate(GPIO_NUM_12); rtc_gpio_isolate(GPIO_NUM_12);
#endif #endif
esp_deep_sleep_start(); esp_deep_sleep_start();
return 1;
} }
static void register_deep_sleep(void) static void register_deep_sleep(void)

View File

@ -273,7 +273,6 @@ static int deep_sleep(int argc, char **argv)
#endif //CONFIG_IDF_TARGET_ESP32 #endif //CONFIG_IDF_TARGET_ESP32
esp_deep_sleep_start(); esp_deep_sleep_start();
return 1;
} }
static void register_deep_sleep(void) static void register_deep_sleep(void)