wd_fdc: Use the new active()

This commit is contained in:
Olivier Galibert 2022-10-29 16:58:40 +02:00
parent 20718ee422
commit acd8d3c144

View file

@ -355,7 +355,7 @@ void wd_fdc_device_base::command_end()
motor_timeout = 0;
if(!drq && (status & S_BUSY)) {
if (!t_cmd->enabled()) {
if (!t_cmd->running()) {
status &= ~S_BUSY;
}
intrq = true;