From f046887e0c0c6da2e16fb9b1ff725b3b36d05f1c Mon Sep 17 00:00:00 2001 From: Jordi Guillaumes i Pons Date: Sat, 1 Mar 2014 01:20:09 +0100 Subject: [PATCH] PDP11,VAX: Minor change in pdp11_cr.c --- PDP11/pdp11_cr.c | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/PDP11/pdp11_cr.c b/PDP11/pdp11_cr.c index f7378764..9f020aac 100644 --- a/PDP11/pdp11_cr.c +++ b/PDP11/pdp11_cr.c @@ -1042,13 +1042,12 @@ t_stat cr_wr ( int32 data, crs |= CSR_ERR | (curr_crs & (CRCSR_SUPPLY | CRCSR_RDCHK | CRCSR_OFFLINE)); if (crs & CSR_IE) SET_INT(CR); + } + if (blowerState != BLOW_ON) { + blowerState = BLOW_START; + sim_activate_after (&cr_unit, spinUp); } else { - if (blowerState != BLOW_ON) { - blowerState = BLOW_START; - sim_activate_after (&cr_unit, spinUp); - } else { - sim_activate_after (&cr_unit, cr_unit.wait); - } + sim_activate_after (&cr_unit, cr_unit.wait); } } if (DEBUG_PRS (cr_dev))