Index: firmware/App/Controllers/SyringePump.c =================================================================== diff -u -rc4597167d133bcafd1a0576d0f7c53f430d98d4b -r1cfa9cbcd9ae84a8df767c7777ff3beca067aaa8 --- firmware/App/Controllers/SyringePump.c (.../SyringePump.c) (revision c4597167d133bcafd1a0576d0f7c53f430d98d4b) +++ firmware/App/Controllers/SyringePump.c (.../SyringePump.c) (revision 1cfa9cbcd9ae84a8df767c7777ff3beca067aaa8) @@ -91,6 +91,7 @@ /// Expected position of empty in relation to home position. #define SYRINGE_PUMP_EMPTY_POS ( SYRINGE_ENCODER_COUNTS_PER_ML * 10.84F ) + /// Margin of error for empty position determination. #define SYRINGE_PUMP_EMPTY_POS_MARGIN ( SYRINGE_ENCODER_COUNTS_PER_ML * 0.5F ) /// Minimum retract position.