Index: firmware/App/Controllers/Valves.c =================================================================== diff -u -r4dda5ae6127e3580137ebf70caf3560e3b268892 -rb61c8330905634762e69ed10fb6614a77552fd54 --- firmware/App/Controllers/Valves.c (.../Valves.c) (revision 4dda5ae6127e3580137ebf70caf3560e3b268892) +++ firmware/App/Controllers/Valves.c (.../Valves.c) (revision b61c8330905634762e69ed10fb6614a77552fd54) @@ -1202,7 +1202,7 @@ maxDeviation = MAX_DEVIATION_FROM_TRAGET_IN_POS_B; } - if ( FALSE == isACPowerLost() ) + if ( isACPowerLost() != TRUE ) { // Check if the current position has deviated from the position it is supposed to be in // For more than a certain amount of time. If it has, raise an alarm