This commit is contained in:
Your Name
2024-02-14 06:15:47 -06:00
parent 19bdca892a
commit d561d2a1cd
2 changed files with 12 additions and 11 deletions

View File

@@ -459,9 +459,9 @@ void Device::setAwake(bool on) {
}
}
void Device::resetInteractiveTimeout(int timeout) {
void Device::resetInteractiveTimeout(int timeout = -1) {
if (timeout == -1) {
timeout = 30;
timeout = 60;
}
interactive_timeout = timeout * UI_FREQ;
}