Index: firmware/App/Modes/OperationModes.c =================================================================== diff -u -re781d3b87509e75ae6a2bde6da3d5819b7b5a2da -ree17705b7751bc120442868ca6637ae3fde05049 --- firmware/App/Modes/OperationModes.c (.../OperationModes.c) (revision e781d3b87509e75ae6a2bde6da3d5819b7b5a2da) +++ firmware/App/Modes/OperationModes.c (.../OperationModes.c) (revision ee17705b7751bc120442868ca6637ae3fde05049) @@ -163,7 +163,7 @@ // If the last mode is treatment but the new mode is not treatment // it means the treatment is done. Get the elapsed time since the beginning of the treatment and convert it to hours to be written U32 txElapsedTimeMS = calcTimeSince( getTreatmentStartTimeStamp() ); - F32 txElapsedTimeHrs = (F32)( txElapsedTimeMS / ( MIN_PER_HOUR * SEC_PER_MIN * MS_PER_SECOND ) ); + F32 txElapsedTimeHrs = (F32)txElapsedTimeMS / ( (F32)( MIN_PER_HOUR * SEC_PER_MIN * MS_PER_SECOND ) ); // Write the treatment hours and set the service to be false so the treatment hours is not reset setTxTimeHours( txElapsedTimeHrs ); } Index: firmware/App/Services/AlarmMgmt.c =================================================================== diff -u -r53a25d66832105280c55adc778923ee251fe0b28 -ree17705b7751bc120442868ca6637ae3fde05049 --- firmware/App/Services/AlarmMgmt.c (.../AlarmMgmt.c) (revision 53a25d66832105280c55adc778923ee251fe0b28) +++ firmware/App/Services/AlarmMgmt.c (.../AlarmMgmt.c) (revision ee17705b7751bc120442868ca6637ae3fde05049) @@ -220,8 +220,8 @@ * The execAlarmMgmt function executes the alarm management functions to be * done periodically. The composite alarm state is updated, alarm lamp and * audio patterns are updated, and status is sent out to the rest of the system. - * @details Inputs: alarmStatusTable[], ALARM_TABLE[] - * @details Outputs: alarmStatus + * @details Inputs: none + * @details Outputs: none * @return none *************************************************************************/ void execAlarmMgmt( void ) @@ -774,8 +774,8 @@ /*********************************************************************//** * @brief * The monitorAlarms function monitors alarm audio current. - * @details Inputs: alarmStatusTable[] - * @details Outputs: alarmPriorityFIFO[], alarmStatus + * @details Inputs: none + * @details Outputs: alarmPrimaryAudioCurrentHG * @return none *************************************************************************/ static void monitorAlarms( void ) @@ -1079,7 +1079,7 @@ * @brief * The updateAlarmsFlags function updates the alarms flags of the alarms * status record. - * @details Inputs: none + * @details Inputs: alarmStatus * @details Outputs: alarmStatus * @return none *************************************************************************/ @@ -1224,8 +1224,8 @@ * @brief * The publishAlarmInfo function publishes alarm information and status * at the set intervals. - * @details Inputs: - * @details Outputs: alarm information and status are published to CAN bus. + * @details Inputs: alarmInfoPublicationTimerCounter + * @details Outputs: alarmStatusPublicationTimerCounter * @return none *************************************************************************/ static void publishAlarmInfo( void ) Index: firmware/App/Services/SystemCommMessages.c =================================================================== diff -u -rd0e6b55d2fed933caec5ca8f5b8f19c7f4d7ecea -ree17705b7751bc120442868ca6637ae3fde05049 --- firmware/App/Services/SystemCommMessages.c (.../SystemCommMessages.c) (revision d0e6b55d2fed933caec5ca8f5b8f19c7f4d7ecea) +++ firmware/App/Services/SystemCommMessages.c (.../SystemCommMessages.c) (revision ee17705b7751bc120442868ca6637ae3fde05049) @@ -7115,8 +7115,8 @@ * The sendHDUsageRecord function sends out the HD service record. * @details Inputs: none * @details Outputs: HD system record msg constructed and queued - * @param msgCurrNum: current payload number - * @param msgTotalNum: total number of payloads + * @param payloadCurrNum: current payload number + * @param payloadTotalNum: total number of payloads * @param length: buffer length to be written * @param srvcRcrdAddress: start address of the usage record * @return TRUE if msg successfully queued for transmit, FALSE if not