mirror of
https://github.com/qmk/qmk_firmware.git
synced 2024-11-21 19:09:25 +00:00
Wait for two ticks rather than 1
This commit is contained in:
parent
0b38204e62
commit
a55c5e3ea3
@ -69,7 +69,7 @@ uint8_t matrix_scan(void)
|
||||
case 8: palSetPad(GPIOC, 11); break;
|
||||
}
|
||||
|
||||
wait_us(10); // need wait to settle pin state
|
||||
wait_us(20); // need wait to settle pin state
|
||||
|
||||
// read col data: { PTD0, PTD1, PTD4, PTD5, PTD6, PTD7, PTC1, PTC2 }
|
||||
data = ((palReadPort(GPIOC) & 0x06UL) << 5) |
|
||||
|
Loading…
Reference in New Issue
Block a user