Don't set "stop" field true if driver returns RA_PROBLEM true. It is

the driver's responsiblity to stop a motor if the condition that results
in the RA_PROBLEM bit being set doesn't result in the motor
automatically stopping.

This partially reverts commit 303a9208e3
This commit is contained in:
kpetersn
2018-08-21 11:56:25 -05:00
parent 741d4292cd
commit 95c0a4caa2
-5
View File
@@ -3696,11 +3696,6 @@ static void process_motor_info(motorRecord * pmr, bool initcall)
if (ls_active == true || msta.Bits.RA_PROBLEM)
{
clear_buttons(pmr);
if (msta.Bits.RA_PROBLEM)
{
pmr->stop = 1;
MARK(M_STOP);
}
}
}
else