forked from epics_driver_modules/motorBase
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user