Update matrix.c
This commit is contained in:
parent
4dab703eb2
commit
8168810036
@ -152,8 +152,8 @@ static void init_cols(void)
|
|||||||
palSetPadMode(GPIOA, 4, PAL_MODE_INPUT_PULLUP);
|
palSetPadMode(GPIOA, 4, PAL_MODE_INPUT_PULLUP);
|
||||||
palSetPadMode(GPIOA, 3, PAL_MODE_INPUT_PULLUP);
|
palSetPadMode(GPIOA, 3, PAL_MODE_INPUT_PULLUP);
|
||||||
palSetPadMode(GPIOA, 2, PAL_MODE_INPUT_PULLUP);
|
palSetPadMode(GPIOA, 2, PAL_MODE_INPUT_PULLUP);
|
||||||
palSetPadMode(GPIOB, 1, PAL_MODE_INPUT_PULLUP);
|
palSetPadMode(GPIOA, 1, PAL_MODE_INPUT_PULLUP);
|
||||||
palSetPadMode(GPIOB, 0, PAL_MODE_INPUT_PULLUP);
|
palSetPadMode(GPIOA, 0, PAL_MODE_INPUT_PULLUP);
|
||||||
palSetPadMode(GPIOC, 15, PAL_MODE_INPUT_PULLUP);
|
palSetPadMode(GPIOC, 15, PAL_MODE_INPUT_PULLUP);
|
||||||
palSetPadMode(GPIOC, 14, PAL_MODE_INPUT_PULLUP);
|
palSetPadMode(GPIOC, 14, PAL_MODE_INPUT_PULLUP);
|
||||||
palSetPadMode(GPIOC, 13, PAL_MODE_INPUT_PULLUP);
|
palSetPadMode(GPIOC, 13, PAL_MODE_INPUT_PULLUP);
|
||||||
|
Loading…
Reference in New Issue
Block a user