More disables

This commit is contained in:
Ben Meadors
2022-12-29 18:48:33 -06:00
parent 110c80d045
commit c7c5671cca
5 files changed
+5 -11

No files matched your search

+1 -2
View File
@@ -135,8 +135,7 @@ int32_t RemoteHardwareModule::runOnce()
}
} else {
// No longer watching anything - stop using CPU
enabled = false;
return INT32_MAX;
return disable();
}
return 200; // Poll our GPIOs every 200ms (FIXME, make adjustable via protobuf arg)