Index: firmware/App/Services/SystemCommMessages.c =================================================================== diff -u -r542a50ea0f1958b02ddc8f1824eb534686616e7c -r1d4766a9ba6b087a7c86e776634707d8a1bfceaf --- firmware/App/Services/SystemCommMessages.c (.../SystemCommMessages.c) (revision 542a50ea0f1958b02ddc8f1824eb534686616e7c) +++ firmware/App/Services/SystemCommMessages.c (.../SystemCommMessages.c) (revision 1d4766a9ba6b087a7c86e776634707d8a1bfceaf) @@ -2001,7 +2001,7 @@ // Create a message record blankMessage( &msg ); - msg.hdr.msgID = MSG_ID_DG_RO_REJ_RATIO_FROM_HD_INSTIT_RECORD_REQUEST; + msg.hdr.msgID = MSG_ID_DG_MAX_RO_REJ_RATIO_FROM_HD_INSTIT_RECORD_REQUEST; msg.hdr.payloadLen = 0; // Serialize the message (w/ sync, CRC, and appropriate CAN padding) and add serialized message data to appropriate comm buffer @@ -2010,14 +2010,14 @@ /*********************************************************************//** * @brief - * The handleRORejectionResponseFromHDInstitRecord function handles receiving - * RO rejection ratio response from HD institutional record + * The handleMaxRORejectionResponseFromHDInstitRecord function handles receiving + * max RO rejection ratio response from HD institutional record * @details Inputs: none * @details Outputs: message handled * @param message a pointer to the message to handle * @return none *************************************************************************/ -void handleRORejectionResponseFromHDInstitRecord( MESSAGE_T* message ) +void handleMaxRORejectionResponseFromHDInstitRecord( MESSAGE_T* message ) { BOOL status = FALSE; @@ -2026,8 +2026,8 @@ F32 roRejectionRatio; memcpy( &roRejectionRatio, message->payload, sizeof(F32) ); + setMaxRORejectionRatio( roRejectionRatio ); - status = TRUE; }