Index: firmware/App/Controllers/Valves.c =================================================================== diff -u -r729fd5d3a3a2d38f4fd4eff8068925941731bfc0 -r9910fec894ece6f3a4845e15c3ca56f56e4e4111 --- firmware/App/Controllers/Valves.c (.../Valves.c) (revision 729fd5d3a3a2d38f4fd4eff8068925941731bfc0) +++ firmware/App/Controllers/Valves.c (.../Valves.c) (revision 9910fec894ece6f3a4845e15c3ca56f56e4e4111) @@ -207,7 +207,7 @@ // flag hydraulics valves that are currently commanded to be energized for ( i = FIRST_HYD_VALVE; i <= LAST_HYD_VALVE; i++ ) { - commandedValvesStates |= ( getValveState( i ) == ENERGIZED ? 0x0001 << i : 0 ); + commandedValvesStates |= ( getValveState( i ) == ENERGIZED ? 0x01 << i : 0 ); } // flag Balancing chamber valves that are currently commanded to be energized @@ -225,7 +225,7 @@ // flag IOFP valves that are currently commanded to be energized for ( i = FIRST_IO_VALVE; i <= LAST_FP_VALVE; i++ ) { - commandedIOFPValveStates |= ( getValveState( i ) == ENERGIZED ? 0x0001 << ( i - FIRST_IO_VALVE ) : 0 ); + commandedIOFPValveStates |= ( getValveState( i ) == ENERGIZED ? 0x01 << ( i - FIRST_IO_VALVE ) : 0 ); } }