Index: firmware/App/Modes/OperationModes.h =================================================================== diff -u -r8c00197ce69e80f1967aa3f2eb36beb3573f36f3 -re5d1d67106a93a6cd1b5692b586625d715732e2f --- firmware/App/Modes/OperationModes.h (.../OperationModes.h) (revision 8c00197ce69e80f1967aa3f2eb36beb3573f36f3) +++ firmware/App/Modes/OperationModes.h (.../OperationModes.h) (revision e5d1d67106a93a6cd1b5692b586625d715732e2f) @@ -37,6 +37,7 @@ void execOperationModes( void ); // Execute the operation modes state machine (scheduled periodic call) void requestNewOperationMode( HD_OP_MODE_T newMode ); // Request a transition to a new operation mode HD_OP_MODE_T getCurrentOperationMode( void ); // Get the current operation mode +HD_OP_MODE_T getPreviousOperationMode( void ); // Get the previous operation mode void initiateAlarmAction( ALARM_ACTION_T action ); // Initiate an alarm or alarm recovery action according to current op mode BOOL testSetOperationMode( HD_OP_MODE_T newMode ); // Force transition to a given mode (if allowed)