diff --git a/source/shoh/src/peripherals/DigitalIoPin.cpp b/source/shoh/src/peripherals/DigitalIoPin.cpp index 0110997..56f4d23 100644 --- a/source/shoh/src/peripherals/DigitalIoPin.cpp +++ b/source/shoh/src/peripherals/DigitalIoPin.cpp @@ -40,7 +40,7 @@ DigitalIoPin::~DigitalIoPin () void DigitalIoPin::setIoPin () { - LOG_INFO("P%d_%d set as %s", _io._port, _io._port, + LOG_DEBUG("P%d_%d set as %s", _io._port, _io._pin, _io._input ? "input" : "output"); bool direction = true; if (_io._input) @@ -65,7 +65,7 @@ DigitalIoPin::setIoPin () void DigitalIoPin::setIsr () { - LOG_INFO("P%d_%d set as ISR", _io._port, _io._port); + LOG_DEBUG("P%d_%d set as ISR", _io._port, _io._pin); bool direction = true; if (_io._input) { diff --git a/source/shoh/src/threads/master/Master.cpp b/source/shoh/src/threads/master/Master.cpp index 2e49314..dbc1774 100644 --- a/source/shoh/src/threads/master/Master.cpp +++ b/source/shoh/src/threads/master/Master.cpp @@ -108,6 +108,7 @@ void thread_master(void* pvParams) { manager->qm->createQueue(20, sizeof(UserInterface::InterfaceWithData), ThreadCommon::QueueManager::ui_event_manager); + LOG_INFO("Master created queues"); LOG_INFO("Master is creating tasks"); @@ -120,5 +121,6 @@ void thread_master(void* pvParams) { manager->tm->createTask(thread_user_interface, "user_interface", configMINIMAL_STACK_SIZE * 10,tskIDLE_PRIORITY + 1UL, static_cast(manager)); + LOG_INFO("Master created tasks"); m.taskFunction(); } diff --git a/source/shoh/src/threads/user_interface/UserInterface.cpp b/source/shoh/src/threads/user_interface/UserInterface.cpp index a58a6f7..4ea61c0 100644 --- a/source/shoh/src/threads/user_interface/UserInterface.cpp +++ b/source/shoh/src/threads/user_interface/UserInterface.cpp @@ -62,13 +62,14 @@ void UserInterface::handleLCD(LiquidCrystal *lcd, const char *str) //Interpret empty string as clear. if(!strlen(str)){ lcd->clear(); - LOG_INFO("Clear up LCD"); + LOG_DEBUG("Clear up LCD"); //Print the text otherwise. - }else + } + else { lcd->setCursor(0, 0); lcd->print(str); - LOG_INFO("Printing [%s] on LCD", str); + LOG_DEBUG("Printing [%s] on LCD", str); } }