Index: firmware/App/Controllers/DrainPump.c =================================================================== diff -u -rcf9368d6c33c4d40a5adbd34a81e9a282374d3b3 -r03647e275b3c1e55196be2bbeb733fd51f3b0a00 --- firmware/App/Controllers/DrainPump.c (.../DrainPump.c) (revision cf9368d6c33c4d40a5adbd34a81e9a282374d3b3) +++ firmware/App/Controllers/DrainPump.c (.../DrainPump.c) (revision 03647e275b3c1e55196be2bbeb733fd51f3b0a00) @@ -78,8 +78,8 @@ #define DRAIN_PUMP_MAX_CURRENT_A 2.2F ///< Drain pump maximum current in amps. #define DRAIN_PUMP_CURRENT_OUT_OF_RANGE_TIMEOUT_MS ( 2 * MS_PER_SECOND ) ///< Drain pump current out of range timeout in milliseconds. #define DRAIN_PUMP_DIR_OF_RANGE_TIMEOUT_MS ( 2 * MS_PER_SECOND ) ///< Drain pump direction out of range timeout in milliseconds. -#define DRAIN_PUMP_FORWARD_DIR 0 ///< Drain pump forward direction. -#define DRAIN_PUMP_DIR_BIT_MASK 0x40 ///< Drain pump direction bit clear mask. +#define DRAIN_PUMP_FORWARD_DIR 1 ///< Drain pump forward direction. +#define DRAIN_PUMP_DIR_BIT_MASK 0x80 ///< Drain pump direction bit clear mask. #define DRAIN_PUMP_DIR_ERROR_CNT_BIT_MASK 0x3F ///< Drain pump direction error count bit mask. #define DRAIN_PUMP_DIR_FPGA_ERROR_TIMEOUT_MS ( 2 * MS_PER_SECOND ) ///< Drain pump direction hall sensor FPGA error time out in milliseconds.