3B2: Properly NULL-terminate IU mod arrays
This commit is contained in:
parent
ea5bcf97b3
commit
76da2c0da8
1 changed files with 4 additions and 2 deletions
|
@ -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[] = {
|
||||||
|
|
Loading…
Add table
Reference in a new issue