mirror of
https://github.com/osiweb/unified_retro_keyboard.git
synced 2024-11-22 19:33:46 +00:00
Allow settling time for each row output change.
This commit is contained in:
parent
217d78a798
commit
b37f8165a4
@ -757,8 +757,8 @@ asdf_cols_t asdf_arch_read_row(uint8_t row)
|
|||||||
uint32_t rows = ~(1L << row);
|
uint32_t rows = ~(1L << row);
|
||||||
|
|
||||||
ASDF_LOROW_PORT = (uint8_t)(rows & 0xff);
|
ASDF_LOROW_PORT = (uint8_t)(rows & 0xff);
|
||||||
|
_delay_us(ASDF_KEYBOARD_ROW_SETTLING_TIME_US);
|
||||||
ASDF_HIROW_PORT = (uint8_t)((rows >> 8) & 0xff);
|
ASDF_HIROW_PORT = (uint8_t)((rows >> 8) & 0xff);
|
||||||
|
|
||||||
_delay_us(ASDF_KEYBOARD_ROW_SETTLING_TIME_US);
|
_delay_us(ASDF_KEYBOARD_ROW_SETTLING_TIME_US);
|
||||||
|
|
||||||
return ~(asdf_cols_t) ASDF_COLUMNS_PIN;
|
return ~(asdf_cols_t) ASDF_COLUMNS_PIN;
|
||||||
|
Loading…
Reference in New Issue
Block a user