Index: firmware/App/Controllers/Voltages.c =================================================================== diff -u -r3a35ddc9052d17a66407058dc2e74d75920f43f4 -rf11ec493e1187526f6c2cdfb16452cc4f7492537 --- firmware/App/Controllers/Voltages.c (.../Voltages.c) (revision 3a35ddc9052d17a66407058dc2e74d75920f43f4) +++ firmware/App/Controllers/Voltages.c (.../Voltages.c) (revision f11ec493e1187526f6c2cdfb16452cc4f7492537) @@ -36,7 +36,7 @@ #define VOLTAGES_DATA_PUB_INTERVAL ( MS_PER_SECOND / TASK_GENERAL_INTERVAL ) ///< Interval (ms/task time) at which the voltages data is published on the CAN bus. #define VOLTAGES_ALARM_PERSISTENCE_MS ( 1 * MS_PER_SECOND ) ///< Alarm persistence period for voltage monitor alarms in milliseconds. -#define POWER_LOSS_VOLTAGE_PERSISTENCE_MS 150 ///< Power supply voltage out of range persistence in milliseconds. +#define POWER_LOSS_VOLTAGE_PERSISTENCE_MS 500 ///< Power supply voltage out of range persistence in milliseconds. #define DATA_PUBLISH_COUNTER_START_COUNT 14 ///< Data publish counter start count. /// Defined states for the voltage monitor state machine. @@ -259,7 +259,7 @@ // Just to make sure we are not clearing the AC power lost in treatment alarm until DG powers up and not in // POST mode, to avoid HD sending commands when DG is not yet ready. - if ( ( DG_MODE_INIT != getDGOpMode() && TRUE == isDGCommunicating() ) ) + if ( DG_MODE_INIT != getDGOpMode() ) { clearAlarmCondition( ALARM_ID_HD_AC_POWER_LOST_IN_TREATMENT ); }