Index: firmware/App/Modes/ModePreTreat.c =================================================================== diff -u -rfae0f1d9a51c7a6a13d282440469663d9bfc7dec -r152aacee2eb078fb519724e1305630f5b5b4cb91 --- firmware/App/Modes/ModePreTreat.c (.../ModePreTreat.c) (revision fae0f1d9a51c7a6a13d282440469663d9bfc7dec) +++ firmware/App/Modes/ModePreTreat.c (.../ModePreTreat.c) (revision 152aacee2eb078fb519724e1305630f5b5b4cb91) @@ -48,7 +48,7 @@ #define PRE_TREATMENT_MIN_FILL_RESERVOIR_VOLUME_ML 125 ///< Fill reservoir to this volume minimum to prep volume during development. #define PRE_TREATMENT_FLUSH_RESERVOIR_VOLUME_ML 500 ///< Fill reservoir to this volume (in mL) to flush filter and lines. -#define PRE_TREATMENT_FILL_RESERVOIR_ONE_VOLUME_ML 1200 ///< Fill reservoir one to this volume (in mL) during pre-treatment mode. +#define PRE_TREATMENT_FILL_RESERVOIR_ONE_VOLUME_ML 1300 ///< Fill reservoir one to this volume (in mL) during pre-treatment mode. #define PRE_TREATMENT_FILL_RESERVOIR_TWO_VOLUME_ML 600 ///< Fill reservoir two to this volume (in mL) during pre-treatment mode. #define PRE_TREATMENT_FULL_RESERVOIR_VOLUME_ML 1500 ///< Fill reservoir to this volume minimum to prep volume during development. @@ -1180,12 +1180,9 @@ // Start tracking flush cycles, flushComplete => don't drain again, this completes the final fill. if ( FALSE == reservoirStatus[ inactiveReservoir ].flushComplete ) { - if ( reservoirStatus[ inactiveReservoir ].flushCount > 0 ) + reservoirStatus[ inactiveReservoir ].flushCount--; + if ( 0 == reservoirStatus[ inactiveReservoir ].flushCount ) { - reservoirStatus[ inactiveReservoir ].flushCount -= 1; - } - else // 0 == reservoirStatus[ inactiveReservoir ].flushCount - { reservoirStatus[ inactiveReservoir ].flushComplete = TRUE; } }