Index: firmware/App/Services/SystemCommMessages.c =================================================================== diff -u -r5960618dff4c2abf61dd707f94676539c4d1658b -red739313859c21cb0d4cb381ff530d6cde4ea45b --- firmware/App/Services/SystemCommMessages.c (.../SystemCommMessages.c) (revision 5960618dff4c2abf61dd707f94676539c4d1658b) +++ firmware/App/Services/SystemCommMessages.c (.../SystemCommMessages.c) (revision ed739313859c21cb0d4cb381ff530d6cde4ea45b) @@ -42,12 +42,11 @@ #include "TreatmentEnd.h" #include "TreatmentRecirc.h" #include "TreatmentStop.h" -#include "Update.h" #include "Utilities.h" #include "Valves.h" #include "WatchdogMgmt.h" #include "HDDefs.h" -#include "TaskPriority.h" +#include "TaskPriority.h" /** * @addtogroup SystemCommMessages @@ -8360,30 +8359,6 @@ /*********************************************************************//** * @brief - * The handleSetBootloaderRequest function handles a - * request to set the flag to trigger update mode - * after a reboot. - * @details Inputs: none - * @details Outputs: message handled - * @param message : a pointer to the message to handle - * @return none - *************************************************************************/ -void handleSetBootloaderRequest( MESSAGE_T *message ) -{ - BOOL result = FALSE; - - // verify payload length - if ( 0 == message->hdr.payloadLen ) - { - result = setBootloaderFlag(); - } - - // respond to request - sendTestAckResponseMsg( (MSG_ID_T)message->hdr.msgID, result ); -} - -/*********************************************************************//** - * @brief * The handleTestHDDialinCheckIn function handles check in from Dialin. * @details Inputs: none * @details Outputs: message handled @@ -8488,28 +8463,6 @@ } /*********************************************************************//** - * The handleEnterBootloaderNowRequest function handles a - * request immediately jump to the bootloader application. - * @details Inputs: none - * @details Outputs: message handled - * @param message : a pointer to the message to handle - * @return none - *************************************************************************/ -void handleEnterBootloaderNowRequest( MESSAGE_T *message ) -{ - BOOL result = (0 == message->hdr.payloadLen); - - // respond to request immediately with whether it was formatted correctly - sendTestAckResponseMsg((MSG_ID_T)message->hdr.msgID, result); - - if (result) - { - // Jump to the bootloader, there is no coming back from this. - startBootloader(); - } -} - -/*********************************************************************//** * @brief * The handleTestHDPendingACKOverrideRequest function handles a * request to override pending ACKs. @@ -8573,27 +8526,4 @@ sendTestAckResponseMsg( (MSG_ID_T)message->hdr.msgID, result ); } -/*********************************************************************//** - * @brief - * The handleRebootNowRequest function handles a - * request immediately jump to the bootloader application. - * @details Inputs: none - * @details Outputs: message handled - * @param message : a pointer to the message to handle - * @return none - *************************************************************************/ -void handleRebootNowRequest( MESSAGE_T *message ) -{ - BOOL result = (0 == message->hdr.payloadLen); - - // respond to request immediately with whether it was formatted correctly - sendTestAckResponseMsg((MSG_ID_T)message->hdr.msgID, result); - - if (result) - { - // Jump to the bootloader, there is no coming back from this. - startBootloader(); - } -} - /**@}*/