Index: firmware/App/Modes/ModeTreatment.c =================================================================== diff -u -rb5accb82ac043938255883b6c60a6f81795569b0 -r0798ef0a54e4ddaa551ced7b2bd9b032aa458095 --- firmware/App/Modes/ModeTreatment.c (.../ModeTreatment.c) (revision b5accb82ac043938255883b6c60a6f81795569b0) +++ firmware/App/Modes/ModeTreatment.c (.../ModeTreatment.c) (revision 0798ef0a54e4ddaa551ced7b2bd9b032aa458095) @@ -44,7 +44,11 @@ // ********** private definitions ********** #define MAX_TREATMENT_TIME_MINUTES ( 8 * MIN_PER_HOUR ) ///< Maximum treatment time (in minutes). +#ifndef ALLOW_1_MIN_TREATMENT_DURATION #define MIN_TREATMENT_TIME_MINUTES ( 1 * MIN_PER_HOUR ) ///< Minimum treatment time (in minutes). +#else +#define MIN_TREATMENT_TIME_MINUTES ( 1 ) ///< Minimum treatment time (in minutes). +#endif #define MAX_DIALYSATE_VOLUME_ML ( 150 * ML_PER_LITER ) ///< Maximum dialysate volume (in mL). #define USER_CONFIRM_CHANGE_TIMEOUT_MS ( 60 * MS_PER_SECOND ) ///< Require user to confirm UF volume change within this time.