Index: sources/gui/GuiController.cpp =================================================================== diff -u -raf8d98b36b427e2b5f4d6659fcf3b58ee79eab6a -re64766e5551e32c3ffd55c6b1fcb222128a1c325 --- sources/gui/GuiController.cpp (.../GuiController.cpp) (revision af8d98b36b427e2b5f4d6659fcf3b58ee79eab6a) +++ sources/gui/GuiController.cpp (.../GuiController.cpp) (revision e64766e5551e32c3ffd55c6b1fcb222128a1c325) @@ -90,6 +90,8 @@ this , SLOT( onSDCardSpaceChange(bool, qint64, qint64, quint8))); connect(&_ApplicationController, SIGNAL(didSDCardSpaceTooLow(quint8)), this , SLOT( onSDCardSpaceTooLow(quint8))); + connect(&_ApplicationController, SIGNAL(didIOFailedLogs()), + this , SLOT(onIOFailedSD ())); // Export connect(&_ApplicationController, SIGNAL(didExport()), @@ -290,7 +292,7 @@ //DEBUG:0: qDebug() << " ***** GuiController " << Storage::SDCard_Base_Path_Name << vIsReady << vIsReadOnly << gDisableSDCFailLogStop; //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 didActionTransmit(GuiActionType::ID_AlarmTriggered, {GuiAlarmID::ALARM_ID_UI_POST_FAILURE_SDCARD ,0,0,0,0,0,0,0}); emit didSDCardStateChange(vIsReady, vIsReadOnly); } @@ -371,3 +373,14 @@ AlarmStatusData data = AlarmGenerator::ALARM_ID_HD_COMM_TIMEOUT(); emit didActionReceive(data); } + +/*! + * \brief GuiController::onIOFailed + * \details This slot is when an SD I/O failure is indicated + * \param vFile - the file name. + */ +void GuiController::onIOFailedSD() +{ + qDebug()<