Index: firmware/App/Services/SystemCommMessages.c =================================================================== diff -u -r329acf53eb90ccf47c5b3f68623b87ec38de5fda -rc1b9ac0dbf2196280895d2e440dd7ac288ac8424 --- firmware/App/Services/SystemCommMessages.c (.../SystemCommMessages.c) (revision 329acf53eb90ccf47c5b3f68623b87ec38de5fda) +++ firmware/App/Services/SystemCommMessages.c (.../SystemCommMessages.c) (revision c1b9ac0dbf2196280895d2e440dd7ac288ac8424) @@ -40,12 +40,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 @@ -8081,74 +8080,4 @@ sendTestAckResponseMsg( (MSG_ID_T)message->hdr.msgID, result ); } -/*********************************************************************//** - * @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 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 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 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(); - } -} - /**@}*/