Index: sources/gui/GuiController.cpp =================================================================== diff -u -rc9f8f8cf3c6c37fc6460d8675c62c9442c4d4263 -r1f2e7dbd08b00f8c56eedf29f083733570aa642e --- sources/gui/GuiController.cpp (.../GuiController.cpp) (revision c9f8f8cf3c6c37fc6460d8675c62c9442c4d4263) +++ sources/gui/GuiController.cpp (.../GuiController.cpp) (revision 1f2e7dbd08b00f8c56eedf29f083733570aa642e) @@ -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); }