mirror of
https://github.com/qmk/qmk_firmware.git
synced 2024-11-29 22:45:51 +00:00
13 lines
395 B
C
13 lines
395 B
C
#include "quantum.h"
|
|
|
|
#ifndef MATRIX_IO_DELAY_DEFAULT
|
|
/* In tmk_core/common/wait.h, the implementation for PROTOCOL_CHIBIOS
|
|
* calls 'chThdSleepMicroseconds(1)' when 'wait_us(0)'.
|
|
* However, 'wait_us(0)' should do nothing. */
|
|
void matrix_output_unselect_delay(uint8_t line, bool key_pressed) {
|
|
# if !defined(MATRIX_IO_DELAY) || MATRIX_IO_DELAY > 0
|
|
matrix_io_delay();
|
|
# endif
|
|
}
|
|
#endif
|