Closed nullstalgia closed 10 months ago
Also some minor RFTransmitter tweaks alongside it, but this should work well!
It's on by default, but users can disable it with
-DOPENSHOCK_SHOCKER_KEEPALIVE_INTERVAL_MS=0
I think a Frontend toggle like we have for the Captive Portal would be better, but still!
Added toggling the keep-alive task via Serial! But I added a utility function to parse the "bool" the user types in. Not sure if this is best in another file somewhere. Seems fine for now though.
Also some minor RFTransmitter tweaks alongside it, but this should work well!
It's on by default, but users can disable it with
-DOPENSHOCK_SHOCKER_KEEPALIVE_INTERVAL_MS=0
I think a Frontend toggle like we have for the Captive Portal would be better, but still!