diff options
Diffstat (limited to 'chip/lm4/keyboard_raw.c')
-rw-r--r-- | chip/lm4/keyboard_raw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chip/lm4/keyboard_raw.c b/chip/lm4/keyboard_raw.c index 85042ce85e..00e00f1c05 100644 --- a/chip/lm4/keyboard_raw.c +++ b/chip/lm4/keyboard_raw.c @@ -68,7 +68,7 @@ test_mockable void keyboard_raw_drive_column(int col) else if (col == KEYBOARD_COLUMN_ALL) mask = 0; /* Assert all outputs */ else - mask = 0x1fff ^ (1 << col); /* Assert a single output */ + mask = 0x1fff ^ BIT(col); /* Assert a single output */ #ifdef CONFIG_KEYBOARD_COL2_INVERTED /* Invert column 2 output */ |