~ruther/qmk_firmware

ref: 865a8f42a6128dfc09a24fe749b0d78d8c69b70e qmk_firmware/keyboards/handwired/symmetric70_proto/proton_c/proton_c.c -rw-r--r-- 395 bytes
865a8f42 — Ryan WS2812 bitbang: prefix for `NOP_FUDGE` define (#23110) 1 year, 2 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
#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
Do not follow this link