mirror of
https://github.com/suchmememanyskill/TegraExplorer.git
synced 2024-11-22 11:56:42 +00:00
I'm stupid
This commit is contained in:
parent
c6ce5e87ba
commit
425f3e82b1
1 changed files with 2 additions and 2 deletions
|
@ -457,7 +457,7 @@ ClassFunction(stdGetCwd){
|
|||
}
|
||||
|
||||
ClassFunction(stdPower){
|
||||
power_set_state(MIN(0, (getIntValue(args[0]) % POWER_OFF_REBOOT)));
|
||||
power_set_state(MAX(0, (getIntValue(args[0]) % POWER_OFF_REBOOT)));
|
||||
return &emptyClass;
|
||||
}
|
||||
|
||||
|
@ -585,4 +585,4 @@ ClassFunctionTableEntry_t* searchStdLib(char* funcName, u8 *len) {
|
|||
|
||||
*len = lenInternal;
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue