PDP11,VAX: Minor change in pdp11_cr.c
This commit is contained in:
parent
8c9a76bf5a
commit
f046887e0c
1 changed files with 5 additions and 6 deletions
|
@ -1042,13 +1042,12 @@ t_stat cr_wr ( int32 data,
|
||||||
crs |= CSR_ERR | (curr_crs & (CRCSR_SUPPLY | CRCSR_RDCHK |
|
crs |= CSR_ERR | (curr_crs & (CRCSR_SUPPLY | CRCSR_RDCHK |
|
||||||
CRCSR_OFFLINE));
|
CRCSR_OFFLINE));
|
||||||
if (crs & CSR_IE) SET_INT(CR);
|
if (crs & CSR_IE) SET_INT(CR);
|
||||||
|
}
|
||||||
|
if (blowerState != BLOW_ON) {
|
||||||
|
blowerState = BLOW_START;
|
||||||
|
sim_activate_after (&cr_unit, spinUp);
|
||||||
} else {
|
} else {
|
||||||
if (blowerState != BLOW_ON) {
|
sim_activate_after (&cr_unit, cr_unit.wait);
|
||||||
blowerState = BLOW_START;
|
|
||||||
sim_activate_after (&cr_unit, spinUp);
|
|
||||||
} else {
|
|
||||||
sim_activate_after (&cr_unit, cr_unit.wait);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (DEBUG_PRS (cr_dev))
|
if (DEBUG_PRS (cr_dev))
|
||||||
|
|
Loading…
Add table
Reference in a new issue