1
0
mirror of https://github.com/rcornwell/sims.git synced 2026-01-11 23:52:48 +00:00

KA10: Removed use of REG_UNIT.

This commit is contained in:
Richard Cornwell 2022-06-21 09:17:13 -04:00
parent d1968cacbe
commit 57a2539151
2 changed files with 3 additions and 3 deletions

View File

@ -321,7 +321,7 @@ REG dt_reg[] = {
{ ORDATA (DTDB, dtdb, 18) },
{ ORDATA (MPX, dt_mpx_lvl, 3) },
{ URDATA (POS, dt_unit[0].pos, 10, T_ADDR_W, 0,
DT_NUMDR, PV_LEFT | REG_RO | REG_UNIT) },
DT_NUMDR, PV_LEFT | REG_RO) },
{ NULL }
};

View File

@ -98,8 +98,8 @@ UNIT lpt_unit = {
};
REG lpt_reg[] = {
{ DRDATA (STATUS, lpt_unit.STATUS, 18), PV_LEFT | REG_UNIT },
{ DRDATA (TIME, lpt_unit.wait, 24), PV_LEFT | REG_UNIT },
{ URDATA (STATUS, lpt_unit.STATUS, 8, 18, 0, 1, PV_LEFT) },
{ URDATA (TIME, lpt_unit.wait, 10, 24, 0, 1, PV_LEFT) },
{ BRDATA(BUFF, lpt_buffer, 16, 8, sizeof(lpt_buffer)), REG_HRO},
{ BRDATA(CBUFF, lpt_chbuf, 16, 8, sizeof(lpt_chbuf)), REG_HRO},
{ NULL }