added missing void arg
This commit is contained in:
parent
d8c96b82fa
commit
4c5b216c2a
2 changed files with 2 additions and 2 deletions
|
|
@ -515,6 +515,6 @@ void POW_fauxSleep(void) {
|
||||||
int POW_preventAutosleep(void) {
|
int POW_preventAutosleep(void) {
|
||||||
return POW_isCharging();
|
return POW_isCharging();
|
||||||
}
|
}
|
||||||
int POW_isCharging() {
|
int POW_isCharging(void) {
|
||||||
return getInt("/sys/class/power_supply/battery/charger_online");
|
return getInt("/sys/class/power_supply/battery/charger_online");
|
||||||
}
|
}
|
||||||
|
|
@ -84,7 +84,7 @@ void POW_disablePowerOff(void);
|
||||||
void POW_powerOff(void);
|
void POW_powerOff(void);
|
||||||
void POW_fauxSleep(void);
|
void POW_fauxSleep(void);
|
||||||
int POW_preventAutosleep(void);
|
int POW_preventAutosleep(void);
|
||||||
int POW_isCharging();
|
int POW_isCharging(void);
|
||||||
|
|
||||||
///////////////////////////////
|
///////////////////////////////
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue