Skip to content

Commit 253f411

Browse files
pcw-mesaandypugh
authored andcommitted
Fix minor outm mistrakes
1 parent 9f3109f commit 253f411

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

docs/man/man9/hostmot2.9

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,9 @@ The valid entries in the format string are:
122122
[num_sserials=\fIN\fB]
123123
[sserial_port_\fI0\fB=\fI00000000\fB]
124124
[num_leds=\fIN\fB]
125-
[num_ssrs=\fIN\fB]
125+
[num_ssrs=\fIN\fB]
126+
[num_outms=\fIN\fB]
127+
[num_xy2mods=\fIN\fB]
126128
[enable_raw]
127129

128130
.TP

src/hal/drivers/mesa-hostmot2/hostmot2.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,7 @@ static int hm2_parse_config_string(hostmot2_t *hm2, char *config_string) {
448448
hm2->config.num_inms = simple_strtol(token, NULL, 0);
449449

450450
} else if (strncmp(token, "num_outms=", 10) == 0) {
451-
token += 9;
451+
token += 10;
452452
hm2->config.num_outms = simple_strtol(token, NULL, 0);
453453

454454
} else if (strncmp(token, "num_ssrs=", 9) == 0) {

0 commit comments

Comments
 (0)