Index: firmware/App/Modes/ModeFault.h =================================================================== diff -u -rc48a99d2d1c852adcc986253b6c420a90dab7bfe -rf5b02f03b6695c0c76fd8a4d902a13114e1a8aca --- firmware/App/Modes/ModeFault.h (.../ModeFault.h) (revision c48a99d2d1c852adcc986253b6c420a90dab7bfe) +++ firmware/App/Modes/ModeFault.h (.../ModeFault.h) (revision f5b02f03b6695c0c76fd8a4d902a13114e1a8aca) @@ -18,6 +18,7 @@ #define __MODE_FAULT_H__ #include "DGCommon.h" +#include "DGModes.h" /** * @defgroup FaultMode FaultMode @@ -28,12 +29,16 @@ * @{ */ +// ********** public definitions ********** + // ********** private function prototypes ********** void initFaultMode( void ); // initialize this module void transitionToFaultMode( void ); // prepares for transition to fault mode -void execFaultMode( void ); // execute the fault mode state machine (call from OperationModes) +U32 execFaultMode( void ); // execute the fault mode state machine (call from OperationModes) +DG_FAULT_STATE_T getCurrentFaultState( void ); // get the current state of the fault mode. + /**@}*/ #endif