Add an explanatory comment

Signed-off-by: Jesse Vincent <jesse@keyboard.io>
pull/1105/head
Jesse Vincent 3 years ago
parent d59604e98b
commit 5ca95d0deb
No known key found for this signature in database
GPG Key ID: 122F5DF7108E4046

@ -33,6 +33,7 @@ void FocusSerial::drain(void) {
}
EventHandlerResult FocusSerial::afterEachCycle() {
// If the serial buffer is empty, we don't have any work to do
if (Runtime.serialPort().available() == 0)
return EventHandlerResult::OK;

Loading…
Cancel
Save