logo

qmk_firmware

custom branch of QMK firmware git clone https://anongit.hacktivis.me/git/qmk_firmware.git

proton_c.c (395B)


  1. #include "quantum.h"
  2. #ifndef MATRIX_IO_DELAY_DEFAULT
  3. /* In tmk_core/common/wait.h, the implementation for PROTOCOL_CHIBIOS
  4. * calls 'chThdSleepMicroseconds(1)' when 'wait_us(0)'.
  5. * However, 'wait_us(0)' should do nothing. */
  6. void matrix_output_unselect_delay(uint8_t line, bool key_pressed) {
  7. # if !defined(MATRIX_IO_DELAY) || MATRIX_IO_DELAY > 0
  8. matrix_io_delay();
  9. # endif
  10. }
  11. #endif