Index: firmware/App/Controllers/DrainPump.c =================================================================== diff -u -rdf0a0b9ce1414b00b381e516714f9089d8e4ae21 -rc0160362dc799802ec589d5b6cf4c2bd1face77e --- firmware/App/Controllers/DrainPump.c (.../DrainPump.c) (revision df0a0b9ce1414b00b381e516714f9089d8e4ae21) +++ firmware/App/Controllers/DrainPump.c (.../DrainPump.c) (revision c0160362dc799802ec589d5b6cf4c2bd1face77e) @@ -49,7 +49,7 @@ #define DRAIN_PUMP_DATA_PUB_INTERVAL ( MS_PER_SECOND / TASK_PRIORITY_INTERVAL ) ///< Interval (ms/task time) at which the Drain Pump data is published on the CAN bus. -#define DRP_CONTROL_INTERVAL ( MS_PER_SECOND / TASK_GENERAL_INTERVAL ) ///< Interval (ms/task time) at which the Drain pump is controlled. +#define DRP_CONTROL_INTERVAL ( MS_PER_SECOND / TASK_GENERAL_INTERVAL ) ///< Interval (ms/task time) at which the Drain pump is controlled. TODO original one is 1 second #define RPM_2_DAC_SLOPE 0.0547 ///< RPM to DAC conversion slope. #define RPM_2_DAC_INTERCEPT 2.9968 ///< RPM to DAC conversion intercept. @@ -675,9 +675,7 @@ // then the data is not stored in the NV memory or it was corrupted. if ( 0 == calData.calibrationTime ) { -#ifndef DISABLE_CAL_CHECK - activateAlarmNoData( ALARM_ID_DG_DRAIN_LINE_VOLUME_INVALID_CALIBRATION ); -#endif + activateAlarmNoData( ALARM_ID_DG_DRAIN_LINE_VOLUME_INVALID_CAL_RECORD ); status = FALSE; }