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

This commit is contained in:
KonstantinKondrashov 2023-07-17 16:41:39 +08:00
parent 7ac7d43541
commit d521b7d52a
2 changed files with 2 additions and 0 deletions

View File

@ -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)

View File

@ -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)