B5500: Make sure Lines per page gets initialized properly.
This commit is contained in:
parent
6a1b5685fd
commit
2eaa31f10e
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||||
|
|
Loading…
Add table
Reference in a new issue