diff --git a/src/kaleidoscope/plugin/CycleTimeReport.cpp b/src/kaleidoscope/plugin/CycleTimeReport.cpp index de91df6c..abc4d5a0 100644 --- a/src/kaleidoscope/plugin/CycleTimeReport.cpp +++ b/src/kaleidoscope/plugin/CycleTimeReport.cpp @@ -56,7 +56,8 @@ EventHandlerResult CycleTimeReport::afterEachCycle() { } __attribute__((weak)) void cycleTimeReport(void) { - Focus.send(Focus.COMMENT, F("average loop time:"), CycleTimeReport.average_loop_time); + Focus.send(Focus.COMMENT, F("average loop time:"), CycleTimeReport.average_loop_time, + Focus.NEWLINE); } kaleidoscope::plugin::CycleTimeReport CycleTimeReport; diff --git a/src/kaleidoscope/plugin/FocusSerial.h b/src/kaleidoscope/plugin/FocusSerial.h index 8989478d..86a9621d 100644 --- a/src/kaleidoscope/plugin/FocusSerial.h +++ b/src/kaleidoscope/plugin/FocusSerial.h @@ -82,6 +82,7 @@ class FocusSerial : public kaleidoscope::Plugin { static constexpr char COMMENT = '#'; static constexpr char SEPARATOR = ' '; + static constexpr char NEWLINE = '\n'; /* Hooks */ EventHandlerResult beforeReportingState();