1
0
Fork 0
mirror of https://github.com/suchmememanyskill/TegraExplorer.git synced 2024-09-16 20:13:24 +01:00

I'm stupid

This commit is contained in:
suchmememanyskill 2021-07-28 11:30:14 +02:00 committed by GitHub
parent c6ce5e87ba
commit 425f3e82b1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;
}
}