mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
fix(examples): Fix example build errors caused by the deep_sleep funcs are returnable
This commit is contained in:
parent
7ac7d43541
commit
d521b7d52a
@ -225,6 +225,7 @@ 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,6 +273,7 @@ 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