mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-11-28 19:58:48 +06:00
commit
f01c2deb4c
|
@ -99,6 +99,9 @@ void dip_switch_read(bool forced) {
|
|||
uint32_t dip_switch_mask = 0;
|
||||
|
||||
#ifdef DIP_SWITCH_MATRIX_GRID
|
||||
# ifndef SCAN_COUNT_MAX
|
||||
# define SCAN_COUNT_MAX 500
|
||||
# endif
|
||||
bool read_raw = false;
|
||||
|
||||
if (scan_count < SCAN_COUNT_MAX) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user