mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
fix(examples): Reverted: Fix example build errors caused by the deep_sleep funcs are returnable
This reverts commit d521b7d52a
.
This commit is contained in:
parent
c4b6f0cf41
commit
1256e6fd6b
@ -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)
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user