Index: sources/gui/GuiController.cpp =================================================================== diff -u -rc9f8f8cf3c6c37fc6460d8675c62c9442c4d4263 -rf4b8d033f61ad11f592b42234a8a18b90d7506e5 --- sources/gui/GuiController.cpp (.../GuiController.cpp) (revision c9f8f8cf3c6c37fc6460d8675c62c9442c4d4263) +++ sources/gui/GuiController.cpp (.../GuiController.cpp) (revision f4b8d033f61ad11f592b42234a8a18b90d7506e5) @@ -289,17 +289,8 @@ { //DEBUG:0: qDebug() << " ***** GuiController " << Storage::SDCard_Base_Path_Name << vIsReady << vIsReadOnly << gDisableSDCFailLogStop; - static bool hasAlarm = false; // to clear the alarm, only once. - if ( ( ! vIsReady || vIsReadOnly ) && ! gDisableSDCFailLogStop ) { - hasAlarm = true; - AlarmStatusData data = AlarmGenerator::ALARM_ID_UI_POST_FAILURE_SDCARD(); - emit didActionReceive(data); - } - else if ( hasAlarm ) { - hasAlarm = false; - AlarmStatusData data = AlarmGenerator::ALARM_ID_NO_ALARM(); - emit didActionReceive(data); - } + //TODO : May probably need to send the following alarm in case the SD-Card fails after successful post and stop logging as well. + // emit didActionTransmit(GuiActionType::ID_AlarmTriggered, {GuiAlarmID::ALARM_ID_UI_POST_FAILURE_SDCARD ,0,0,0,0,0,0,0}); emit didSDCardStateChange(vIsReady, vIsReadOnly); } Index: sources/storage/Logger.h =================================================================== diff -u -r52b9edb89c70c90d29ad4f6b3cd13b5cec3ce775 -rf4b8d033f61ad11f592b42234a8a18b90d7506e5 --- sources/storage/Logger.h (.../Logger.h) (revision 52b9edb89c70c90d29ad4f6b3cd13b5cec3ce775) +++ sources/storage/Logger.h (.../Logger.h) (revision f4b8d033f61ad11f592b42234a8a18b90d7506e5) @@ -36,7 +36,7 @@ #define LOG_APPED(vCONTENT) emit Storage::Logger::I().didLog(vCONTENT, Storage::Logger::LogType::eLogAppED, true ) #define LOG_DEBUG(vCONTENT) emit Storage::Logger::I().didLog(vCONTENT, Storage::Logger::LogType::eLogDebug, true ) -#define LOG_APPED_UI(vCONTENT) emit Storage::Logger::I().didLog(",UI," + vCONTENT, Storage::Logger::LogType::eLogAppED, true ) +#define LOG_APPED_UI(vCONTENT) emit Storage::Logger::I().didLog(" ,UI," + vCONTENT, Storage::Logger::LogType::eLogAppED, true ) // forward declarations class tst_logging;