diff --git a/plugins/Kaleidoscope-FocusSerial/src/kaleidoscope/plugin/FocusSerial.h b/plugins/Kaleidoscope-FocusSerial/src/kaleidoscope/plugin/FocusSerial.h index f9915d52..0f08821a 100644 --- a/plugins/Kaleidoscope-FocusSerial/src/kaleidoscope/plugin/FocusSerial.h +++ b/plugins/Kaleidoscope-FocusSerial/src/kaleidoscope/plugin/FocusSerial.h @@ -94,6 +94,9 @@ class FocusSerial : public kaleidoscope::Plugin { color.g = Runtime.serialPort().parseInt(); color.b = Runtime.serialPort().parseInt(); } + void read(char &c) { + c = static_cast(Runtime.serialPort().read()); + } void read(uint8_t &u8) { u8 = Runtime.serialPort().parseInt(); }