forked from mirrors/qmk_userspace
Move more UART-based keyboards to use timeout correctly. (#17329)
Co-authored-by: Tomasz Janeczko <tomasz.j@hey.com>
This commit is contained in:
parent
f6a7bf2a83
commit
6567b21688
13 changed files with 111 additions and 31 deletions
|
@ -34,7 +34,7 @@ bool matrix_scan_custom(matrix_row_t current_matrix[]) {
|
|||
//trust the external keystates entirely, erase the last data
|
||||
uint8_t uart_data[11] = {0};
|
||||
|
||||
//there are 14 bytes corresponding to 14 columns, and an end byte
|
||||
//there are 10 bytes corresponding to 10 columns, and then an end byte
|
||||
for (uint8_t i = 0; i < 11; i++) {
|
||||
//wait for the serial data, timeout if it's been too long
|
||||
//this only happened in testing with a loose wire, but does no
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue