From 64b1869d1f1801757a91aeb8f9f0476330cd0ed6 Mon Sep 17 00:00:00 2001 From: Pascal Roobrouck Date: Sun, 13 Jul 2025 11:26:07 +0200 Subject: [PATCH] fix - missing \n in CLI output --- TODO.md | 2 +- lib/application/maincontroller.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/TODO.md b/TODO.md index 09d96d8..b246923 100644 --- a/TODO.md +++ b/TODO.md @@ -1,7 +1,7 @@ # MuMo SW V3 ## known bugs -when unplugging the USB, sometimes the display is not updated immediately, but only at the next RTCtick ??? + ## ToDo's diff --git a/lib/application/maincontroller.cpp b/lib/application/maincontroller.cpp index 3f4b429..976dfd9 100644 --- a/lib/application/maincontroller.cpp +++ b/lib/application/maincontroller.cpp @@ -803,7 +803,7 @@ void mainController::setSensor(const cliCommand& theCommand) { if (tmpTime >= 60) { cli::sendResponse("%u hours\n", tmpTime / 60); } else { - cli::sendResponse("%u minutes", tmpTime); + cli::sendResponse("%u minutes\n", tmpTime); } } }