I7094: Use appropriate REG macro for array of structures

This commit is contained in:
Mark Pizzolato 2022-09-21 09:03:16 -07:00
parent 8854da6c1b
commit 1e5caa39c2

View file

@ -317,9 +317,9 @@ REG com_reg[] = {
{ URDATA (NOECHO, coml_unit[0].NOECHO, 8, 1, 0, COM_TLINES, 0) },
{ URDATA (INPP, coml_unit[0].INPP, 8, 1, 0, COM_TLINES, 0) },
{ VBRDATA (FREEQ, com_free, 10, 16, 2) },
{ BRDATA (INPQ, com_inpq, 10, 16, 2 * COM_TLINES) },
{ BRDATA (OUTQ, com_outq, 10, 16, 2 * COM_TLINES) },
{ BRDATA (PKTB, com_pkt, 10, 16, 2 * COM_PKTSIZ) },
{ VBRDATA (INPQ, com_inpq, 10, 16, 2 * COM_TLINES) },
{ VBRDATA (OUTQ, com_outq, 10, 16, 2 * COM_TLINES) },
{ VBRDATA (PKTB, com_pkt, 10, 16, 2 * COM_PKTSIZ) },
{ DRDATA (TTIME, com_unit[COM_CIU].wait, 24), REG_NZ + PV_LEFT },
{ DRDATA (WTIME, com_unit[COM_CHU].wait, 24), REG_NZ + PV_LEFT },
{ DRDATA (CHAN, com_ch, 3), REG_HRO },