Index: firmware/App/Services/SystemCommMessages.c =================================================================== diff -u -rc7890e8beda1708d2dea0762dcc40ca5a12222e3 -r182a81ed78f66f05ef286e2456c6c86f5e4f3e28 --- firmware/App/Services/SystemCommMessages.c (.../SystemCommMessages.c) (revision c7890e8beda1708d2dea0762dcc40ca5a12222e3) +++ firmware/App/Services/SystemCommMessages.c (.../SystemCommMessages.c) (revision 182a81ed78f66f05ef286e2456c6c86f5e4f3e28) @@ -1963,6 +1963,27 @@ return result; } +/*********************************************************************//** + * @brief + * The handleDGMixingRatios function handles a concentrate mixing ratios and + * prepare fill time broadcast from DG. + * @details Inputs: none + * @details Outputs: message handled + * @param message a pointer to the message to handle + * @return none + *************************************************************************/ +void handleDGMixingRatios( MESSAGE_T *message ) +{ + if ( message->hdr.payloadLen == sizeof( DG_MIXING_RATIOS_T ) ) + { + DG_MIXING_RATIOS_T payload; + + memcpy( &payload, message->payload, sizeof( DG_MIXING_RATIOS_T ) ); + + setDGMixingRatios( payload ); + } +} + #ifdef EMC_TEST_BUILD BOOL broadcastCANErrorCount( U32 count ) { @@ -6779,25 +6800,4 @@ sendTestAckResponseMsg( (MSG_ID_T)message->hdr.msgID, result ); } -/*********************************************************************//** - * @brief - * The handleDGMixingRatios function handles a concentrate mixing ratios and - * prepare fill time broadcast from DG. - * @details Inputs: none - * @details Outputs: message handled - * @param message a pointer to the message to handle - * @return none - *************************************************************************/ -void handleDGMixingRatios( MESSAGE_T *message ) -{ - if ( message->hdr.payloadLen == sizeof( DG_MIXING_RATIOS_T ) ) - { - DG_MIXING_RATIOS_T payload; - - memcpy( &payload, message->payload, sizeof( DG_MIXING_RATIOS_T ) ); - - setDGMixingRatios( payload ); - } -} - /**@}*/