diff --git a/src/fsfw/devicehandlers/AssemblyBase.cpp b/src/fsfw/devicehandlers/AssemblyBase.cpp index 5424ce39..ada7c4a8 100644 --- a/src/fsfw/devicehandlers/AssemblyBase.cpp +++ b/src/fsfw/devicehandlers/AssemblyBase.cpp @@ -250,7 +250,7 @@ bool AssemblyBase::checkAndHandleRecovery() { doStartTransition(targetMode, targetSubmode); return true; case RECOVERY_ONGOING_2: - triggerEvent(RECOVERY_DONE); + triggerEvent(RECOVERY_DONE, recoveringDevice->first); // Now we're through, but not sure if it was successful. recoveryState = RECOVERY_IDLE; return false; diff --git a/src/fsfw/health/HasHealthIF.h b/src/fsfw/health/HasHealthIF.h index 07f9a5b4..483b60c1 100644 --- a/src/fsfw/health/HasHealthIF.h +++ b/src/fsfw/health/HasHealthIF.h @@ -34,6 +34,7 @@ class HasHealthIF { //! P1: 0 for the first, 1 for the second event. P2: 0 static const Event RECOVERY_STEP = MAKE_EVENT(11, severity::MEDIUM); //! Recovery was completed. Not necessarily successful. No parameters. + //! P1: Object Id of the recovering device. static const Event RECOVERY_DONE = MAKE_EVENT(12, severity::MEDIUM); //! Recovery is ongoing. The recovering device is currently OFF, waiting for restart. //! P1: Object Id of the recovering device.