Index: firmware/App/Controllers/Valves.c =================================================================== diff -u -r9bf209fc5813b7e806f51f408ece77174a336c9b -r43e59e505bbea87c76822c51a3273eec3f4addaa --- firmware/App/Controllers/Valves.c (.../Valves.c) (revision 9bf209fc5813b7e806f51f408ece77174a336c9b) +++ firmware/App/Controllers/Valves.c (.../Valves.c) (revision 43e59e505bbea87c76822c51a3273eec3f4addaa) @@ -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