mirror of
https://github.com/simh/simh.git
synced 2026-05-03 22:48:35 +00:00
3B2: Properly NULL-terminate IU mod arrays
This commit is contained in:
committed by
Mark Pizzolato
parent
c65f0ee485
commit
a496c85e1c
@@ -233,7 +233,8 @@ MTAB contty_mod[] = {
|
|||||||
{ MTAB_XTD|MTAB_VDV|MTAB_NMO, 1, "CONNECTIONS", NULL,
|
{ MTAB_XTD|MTAB_VDV|MTAB_NMO, 1, "CONNECTIONS", NULL,
|
||||||
NULL, &tmxr_show_cstat, (void *)&contty_desc, "Display current connection" },
|
NULL, &tmxr_show_cstat, (void *)&contty_desc, "Display current connection" },
|
||||||
{ MTAB_XTD|MTAB_VDV|MTAB_NMO, 0, "STATISTICS", NULL,
|
{ MTAB_XTD|MTAB_VDV|MTAB_NMO, 0, "STATISTICS", NULL,
|
||||||
NULL, &tmxr_show_cstat, (void *)&contty_desc, "Display CONTTY statistics" }
|
NULL, &tmxr_show_cstat, (void *)&contty_desc, "Display CONTTY statistics" },
|
||||||
|
{ 0 }
|
||||||
};
|
};
|
||||||
|
|
||||||
CONST char *brg_rates[IU_SPEED_REGS][IU_SPEEDS] = {
|
CONST char *brg_rates[IU_SPEED_REGS][IU_SPEEDS] = {
|
||||||
@@ -276,7 +277,8 @@ DEVICE contty_dev = {
|
|||||||
|
|
||||||
MTAB iu_timer_mod[] = {
|
MTAB iu_timer_mod[] = {
|
||||||
{ MTAB_XTD|MTAB_VDV|MTAB_VALR, 0, "MULT", "MULT={1|2|3|4}",
|
{ MTAB_XTD|MTAB_VDV|MTAB_VALR, 0, "MULT", "MULT={1|2|3|4}",
|
||||||
&iu_timer_set_mult, &iu_timer_show_mult, NULL, "Timer Multiplier" }
|
&iu_timer_set_mult, &iu_timer_show_mult, NULL, "Timer Multiplier" },
|
||||||
|
{ 0 }
|
||||||
};
|
};
|
||||||
|
|
||||||
REG iu_timer_reg[] = {
|
REG iu_timer_reg[] = {
|
||||||
|
|||||||
Reference in New Issue
Block a user