Browse Source

revert light sleep time

main
Hendrik Langer 5 years ago
parent
commit
8731ba6a38
  1. 2
      src/main.cpp

2
src/main.cpp

@ -148,7 +148,7 @@ void inline lightsleep() {
PIN_FUNC_SELECT(PERIPHS_IO_MUX_MTCK_U,FUNC_GPIO13); // PIN_FUNC_SELECT(PERIPHS_IO_MUX_MTDI_U,FUNC_GPIO13);
gpio_pin_wakeup_enable(GPIO_ID_PIN(GEIGER_PIN), GPIO_PIN_INTR_LOLEVEL);
wifi_fpm_set_wakeup_cb(fpm_wakup_cb_func1);
wifi_fpm_do_sleep((uint32_t)postingInterval*1000); // 0xFFFFFFF: Sleep for longest possible time
wifi_fpm_do_sleep(0xFFFFFFF); // Sleep for longest possible time // this does not work: (uint32_t)postingInterval*1000
//delay(500);
}

Loading…
Cancel
Save