Index: firmware/App/Services/SystemCommDD.c =================================================================== diff -u -r121912c6c7b1d21d5e4f2f8d9386a9f51ee68f1f -r48ca7fd644c67920acc29a80b7af379d0a134d1a --- firmware/App/Services/SystemCommDD.c (.../SystemCommDD.c) (revision 121912c6c7b1d21d5e4f2f8d9386a9f51ee68f1f) +++ firmware/App/Services/SystemCommDD.c (.../SystemCommDD.c) (revision 48ca7fd644c67920acc29a80b7af379d0a134d1a) @@ -265,46 +265,19 @@ /*********************************************************************//** * @brief - * The testSetTDCommunicationStatus function sets the override + * The testTDCommunicationStatus function sets the override * of the TD communication status. * @details \b Inputs: none * @details \b Outputs: tdCommunicationStatus - * @return TRUE if reset successful, FALSE if not + * @param message Override message from Dialin which includes the flag + * value to override for the Td communication status. + * @return TRUE if override successful, FALSE if not *************************************************************************/ -BOOL testSetTDCommunicationStatus( U32 value ) +BOOL testTDCommunicationStatus( MESSAGE_T *message ) { - BOOL result = FALSE; + BOOL result = u32Override( message, &tdCommunicationStatus, FALSE, TRUE ); - if (TRUE == isTestingActivated() ) - { - result = TRUE; - tdCommunicationStatus.ovData = value; - tdCommunicationStatus.override = OVERRIDE_KEY; - - } return result; } -/*********************************************************************//** - * @brief - * The testResetTDCommuncationStatus function resets the override - * of the TD communication status. - * @details \b Inputs: none - * @details \b Outputs: tdCommunicationStatus - * @return TRUE if reset successful, FALSE if not - *************************************************************************/ -BOOL testResetTDCommuncationStatus( void ) -{ - BOOL result = FALSE; - - if (TRUE == isTestingActivated() ) - { - result = TRUE; - tdCommunicationStatus.override = OVERRIDE_RESET; - tdCommunicationStatus.ovData = tdCommunicationStatus.ovInitData; - - } - return result; -} - /**@}*/