Index: firmware/App/Controllers/Valves.c =================================================================== diff -u -rd6255708e8305bf5509485a860eb3469a42ec9ad -rf10b94b7dc8c2b340c7e807f1e6850d237cee3a6 --- firmware/App/Controllers/Valves.c (.../Valves.c) (revision d6255708e8305bf5509485a860eb3469a42ec9ad) +++ firmware/App/Controllers/Valves.c (.../Valves.c) (revision f10b94b7dc8c2b340c7e807f1e6850d237cee3a6) @@ -87,7 +87,7 @@ #define HOMING_STEP_CHANGE_IN_COUNTS 1000 ///< Step change in counts during homing #define TRANSITION_STEP_CHANGE_IN_COUNTS 15000 ///< Step change in counts during normal operations -#define MAX_DEVIATION_FROM_TARGET_IN_COUNTS 150 ///< Maximum deviation from target in counts +#define MAX_DEVIATION_FROM_TARGET_IN_COUNTS 350 //150 // TODO remove this ///< Maximum deviation from target in counts #define MAX_DEVIATION_FROM_TRAGET_IN_POS_B 1000 ///< Maximum allowed deviation from position B in counts #define MAX_ALLOWED_FAILED_HOMINGS 3U ///< Maximum allowed failed homings /// The time that the valve must be at the edge to be considered for edge detection