Index: firmware/App/Modes/FPModes/FPModeFault.h =================================================================== diff -u -r6545787080956983fed6bd9c2717938c202917ab -r3e1af7cc2576e347ab8bdf2f400196b2301def07 --- firmware/App/Modes/FPModes/FPModeFault.h (.../FPModeFault.h) (revision 6545787080956983fed6bd9c2717938c202917ab) +++ firmware/App/Modes/FPModes/FPModeFault.h (.../FPModeFault.h) (revision 3e1af7cc2576e347ab8bdf2f400196b2301def07) @@ -1,17 +1,17 @@ /************************************************************************** * -* Copyright (c) 2024-2024 Diality Inc. - All Rights Reserved. +* Copyright (c) 2025-2026 Diality Inc. - All Rights Reserved. * * THIS CODE MAY NOT BE COPIED OR REPRODUCED IN ANY FORM, IN PART OR IN * WHOLE, WITHOUT THE EXPLICIT PERMISSION OF THE COPYRIGHT OWNER. * -* @file FPModeFault.c +* @file FPModeFault.h * -* @author (last) Michael Garthwaite -* @date (last) 28-Feb-2025 +* @author (last) Raghu Kallala +* @date (last) 30-Mar-2026 * * @author (original) Michael Garthwaite -* @date (original) 28-Feb-2025 +* @date (original) 08-Sep-2025 * ***************************************************************************/ @@ -36,9 +36,12 @@ U32 transitionToFPFaultMode( void ); // Prepares for transition to fault mode U32 execFPFaultMode( void ); // Execute the fault mode state machine (call from OperationModes) -FP_FAULT_STATE_T getCurrentFPFaultState( void ); // get the current state of the fault mode. -void deEnergizeFPActuators( BOOL isDrainEnabled ); +FP_FAULT_STATE_T getCurrentFPFaultState( void ); // Get the current state of the fault mode. +void deEnergizeFPActuators( BOOL isDrainEnabled ); // Rest actuators to de-energized state +BOOL testValidateFaultChangeReq( U32 newSubMode ); // Validate the requested fault sub mode transition is possible or not +void testSignalNewFaultSubMode( U32 newSubMode ); // Signal transition to a new fault sub mode + /**@}*/ #endif