mirror of
https://github.com/open-simh/simh.git
synced 2026-04-24 19:40:22 +00:00
B5500: Make sure Lines per page gets initialized properly.
This commit is contained in:
committed by
Paul Koning
parent
6a1b5685fd
commit
2eaa31f10e
@@ -662,6 +662,9 @@ lpr_ini(DEVICE *dptr) {
|
|||||||
|
|
||||||
for(i = 0; i < NUM_DEVS_LPR; i++) {
|
for(i = 0; i < NUM_DEVS_LPR; i++) {
|
||||||
lpr_unit[i].CMD = 0;
|
lpr_unit[i].CMD = 0;
|
||||||
|
if (lpr_unit[i].LPP == 0) {
|
||||||
|
lpr_unit[i].LPP = 59;
|
||||||
|
}
|
||||||
sim_cancel(&lpr_unit[i]);
|
sim_cancel(&lpr_unit[i]);
|
||||||
}
|
}
|
||||||
return SCPE_OK;
|
return SCPE_OK;
|
||||||
|
|||||||
Reference in New Issue
Block a user