Index: firmware/App/Modes/OperationModes.h =================================================================== diff -u -r8c00197ce69e80f1967aa3f2eb36beb3573f36f3 -r158b4394cb66d4585bbcef39471193a7396709c6 --- firmware/App/Modes/OperationModes.h (.../OperationModes.h) (revision 8c00197ce69e80f1967aa3f2eb36beb3573f36f3) +++ firmware/App/Modes/OperationModes.h (.../OperationModes.h) (revision 158b4394cb66d4585bbcef39471193a7396709c6) @@ -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)