implemented sleep and power off

This commit is contained in:
Shaun Inman 2023-01-05 22:15:46 -05:00
parent 2cc36b97d5
commit db0042e57e
3 changed files with 102 additions and 33 deletions

View file

@ -4,11 +4,7 @@
///////////////////////////////
// TODO: tmp
void powerOff(void);
void fauxSleep(void);
int preventAutosleep(void);
int isCharging();
// TODO: tmo
#define PAD_justRepeated PAD_justPressed
///////////////////////////////
@ -82,4 +78,12 @@ int PAD_justReleased(int btn);
///////////////////////////////
void POW_disablePowerOff(void);
void POW_powerOff(void);
void POW_fauxSleep(void);
int POW_preventAutosleep(void);
int POW_isCharging();
///////////////////////////////
#endif