Index: firmware/App/Monitors/Flow.c =================================================================== diff -u -r863f8f88c73ee5dd285242f6e131a14862b4f5c4 -r410afd26b3ae5e372310c696c82f58c59235e10d --- firmware/App/Monitors/Flow.c (.../Flow.c) (revision 863f8f88c73ee5dd285242f6e131a14862b4f5c4) +++ firmware/App/Monitors/Flow.c (.../Flow.c) (revision 410afd26b3ae5e372310c696c82f58c59235e10d) @@ -15,7 +15,7 @@ * ***************************************************************************/ -#include "AlarmMgmtRO.h" +#include "AlarmMgmtFP.h" #include "Flow.h" #include "Messaging.h" #include "PersistentAlarm.h" @@ -179,7 +179,7 @@ * @brief * The getFilteredFlowSensorTemperature function gets the filtered current * flow sensor temperature (in deg C) for a given flow sensor. - * @details \b Alarm: ALARM_ID_RO_SOFTWARE_FAULT if given sensor is invalid. + * @details \b Alarm: ALARM_ID_FP_SOFTWARE_FAULT if given sensor is invalid. * @details \b Inputs: currentFlowTempReadings * @details \b Outputs: none * @param sensor ID of flow sensor to get temperature reading for. @@ -213,7 +213,7 @@ * of the flow sensors. * @details \b Inputs: flowsState * @details \b Outputs: flowsState - * @details \b Alarm: ALARM_ID_RO_SOFTWARE_FAULT if in invalid flow state + * @details \b Alarm: ALARM_ID_FP_SOFTWARE_FAULT if in invalid flow state * @return none *************************************************************************/ void execFlowMonitor( void ) @@ -355,10 +355,10 @@ /*********************************************************************//** * @brief - * The publishFlowsData function publishes RO flow data at a set interval. + * The publishFlowsData function publishes FP flow data at a set interval. * @details \b Inputs: flowsDataPublicationTimerCounter * @details \b Outputs: flowsDataPublicationTimerCounter - * @details \b Message \b Sent: MSG_ID_RO_FLOW_DATA to publish flow data. + * @details \b Message \b Sent: MSG_ID_FP_FLOW_DATA to publish flow data. * @return none *************************************************************************/ static void publishFlowsData( void ) @@ -373,7 +373,7 @@ data.p7Temp = getFilteredFlowSensorTemperature( P7_FLOW ); data.p16Temp = getFilteredFlowSensorTemperature( P16_FLOW ); - broadcastData( MSG_ID_FP_FLOW_DATA, COMM_BUFFER_OUT_CAN_RO_BROADCAST, (U08*)&data, sizeof( FLOW_TEMP_DATA_T ) ); + broadcastData( MSG_ID_FP_FLOW_DATA, COMM_BUFFER_OUT_CAN_FP_BROADCAST, (U08*)&data, sizeof( FLOW_TEMP_DATA_T ) ); flowsDataPublicationTimerCounter = 0; } }