AmboVent icon indicating copy to clipboard operation
AmboVent copied to clipboard

Possible calibration user error

Open salam17 opened this issue 4 years ago • 0 comments

It appears to me that there is a plausible scenario in which there will be a divide by zero in calc_failure(), leading to unexpected results or a crash. During calibrate_arm_range(), if a user is is distracted and pushes the test button twice without moving the arm, max_arm_pos can be set to the same value as min_arm_pos. I suggest more checks before the calibrated variable is set to true.

salam17 avatar May 01 '20 23:05 salam17