Index: firmware/App/Services/AlarmMgmt.c =================================================================== diff -u -re11a13817641163361996836c7ca8441cdbced87 -r5fef605363d4f8023b3db2989b097b6c5f58db1a --- firmware/App/Services/AlarmMgmt.c (.../AlarmMgmt.c) (revision e11a13817641163361996836c7ca8441cdbced87) +++ firmware/App/Services/AlarmMgmt.c (.../AlarmMgmt.c) (revision 5fef605363d4f8023b3db2989b097b6c5f58db1a) @@ -37,7 +37,7 @@ /// Interval to control lamp and audio and to publish alarm status data. static const U32 ALARM_STATUS_PUBLISH_INTERVAL = ( ALARM_LAMP_AND_AUDIO_CONTROL_INTERVAL_MS / TASK_GENERAL_INTERVAL ); /// Interval (ms/task time) at which the alarm information is published on the CAN bus. -static const U32 ALARM_INFO_PUB_INTERVAL = ( MS_PER_SECOND / TASK_GENERAL_INTERVAL ); +#define ALARM_INFO_PUB_INTERVAL ( MS_PER_SECOND / TASK_GENERAL_INTERVAL ) #define ALARM_SILENCE_EXPIRES_IN_SECS (60) ///< Alarm silence expiration time in seconds.