input: input_utils: use proper sizeof
Would have not directly caused issues, but better to fix it :) Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
This commit is contained in:
committed by
Benjamin Cabé
parent
9652ac5d16
commit
c7e7d977c2
@@ -247,7 +247,7 @@ static int input_cmd_kbd_matrix_state_dump(const struct shell *sh,
|
||||
}
|
||||
|
||||
memset(kbd_matrix_state, 0, sizeof(kbd_matrix_state));
|
||||
memset(kbd_matrix_key_mask, 0, sizeof(kbd_matrix_state));
|
||||
memset(kbd_matrix_key_mask, 0, sizeof(kbd_matrix_key_mask));
|
||||
kbd_matrix_state_dev = dev;
|
||||
|
||||
shell_info(sh, "Keyboard state logging enabled for %s", dev->name);
|
||||
|
||||
Reference in New Issue
Block a user