WIP: trying deep sleep

This commit is contained in:
Martin Brodbeck 2023-01-10 11:27:15 +01:00
parent aaa2c6dac4
commit 377dd3c4e6
8 changed files with 177 additions and 29 deletions

View file

@ -27,4 +27,12 @@ void wifi_enable();
void wifi_disable();
bool isDST(int8_t day, int8_t month, int8_t dow);
bool isDST(const datetime_t &dt);
void recover_from_sleep(uint scb_orig, uint clock0_orig, uint clock1_orig);
void perform_sleep(datetime_t &untilDt);
//void add_one_day(datetime_t &dt);
void add_one_hour(datetime_t &dt);