Index: firmware/App/Controllers/AirTrap.c =================================================================== diff -u -r3451ff7e166868ab0a5338d470bd75eb3cbace70 -r571a5f2dac16909c6351279ee80655abb0c64d83 --- firmware/App/Controllers/AirTrap.c (.../AirTrap.c) (revision 3451ff7e166868ab0a5338d470bd75eb3cbace70) +++ firmware/App/Controllers/AirTrap.c (.../AirTrap.c) (revision 571a5f2dac16909c6351279ee80655abb0c64d83) @@ -93,7 +93,7 @@ resetAirTrap(); airTrapIllegalLevelSensorsCtr = DATA_PUBLISH_COUNTER_START_COUNT; - airPumpUpperlevelctr = 0; + airPumpUpperLevelCtr = 0; for ( i = 0; i < NUM_OF_AIR_TRAP_LEVEL_SENSORS; i++ ) { @@ -370,13 +370,13 @@ { if ( AIR_PUMP_STATE_ON == getAirPumpState() ) { - airPumpUpperlevelctr++; + airPumpUpperLevelCtr++; // Turn air pump off once we detect air at upper level and exceed persistence // But first, open the air valve. - if ( airPumpUpperlevelctr >= AIR_PUMP_UPPER_LEVEL_PERSISTENCE ) + if ( airPumpUpperLevelCtr >= AIR_PUMP_UPPER_LEVEL_PERSISTENCE ) { setAirPumpState( AIR_PUMP_STATE_OFF ); - airPumpUpperlevelctr = 0; + airPumpUpperLevelCtr = 0; } } } @@ -392,7 +392,7 @@ if ( AIR_PUMP_STATE_ON == getAirPumpState() ) { setAirPumpState( AIR_PUMP_STATE_OFF ); - airPumpUpperlevelctr = 0; + airPumpUpperLevelCtr = 0; } } setValveAirTrap( STATE_OPEN );