This commit is contained in:
cyberman54 committed 2020-12-30 22:07:50 +01:00
1 parent e882ad625e
commit bf5a376926
2 files changed
+3 -3

No files matched your search

+1 -2
View File
@@ -81,8 +81,7 @@ void do_after_reset(void) {
runmode[RTC_runmode]);
}
void enter_deepsleep(const uint64_t wakeup_sec = 60,
gpio_num_t wakeup_gpio = GPIO_NUM_MAX) {
void enter_deepsleep(const uint64_t wakeup_sec, gpio_num_t wakeup_gpio) {
ESP_LOGI(TAG, "Preparing to sleep...");