Merge pull request #110 from lalalademaxiya1/playground

Playground
This commit is contained in:
lalalademaxiya1 2023-03-18 14:26:27 +08:00 committed by GitHub
commit f01c2deb4c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -99,6 +99,9 @@ void dip_switch_read(bool forced) {
uint32_t dip_switch_mask = 0; uint32_t dip_switch_mask = 0;
#ifdef DIP_SWITCH_MATRIX_GRID #ifdef DIP_SWITCH_MATRIX_GRID
# ifndef SCAN_COUNT_MAX
# define SCAN_COUNT_MAX 500
# endif
bool read_raw = false; bool read_raw = false;
if (scan_count < SCAN_COUNT_MAX) { if (scan_count < SCAN_COUNT_MAX) {