WIP: trying deep sleep
This commit is contained in:
parent
aaa2c6dac4
commit
377dd3c4e6
8 changed files with 177 additions and 29 deletions
10
src/utils.h
10
src/utils.h
|
@ -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);
|
Loading…
Add table
Add a link
Reference in a new issue