implemented sleep and power off
This commit is contained in:
parent
2cc36b97d5
commit
db0042e57e
3 changed files with 102 additions and 33 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue