mirror of
https://github.com/zmkfirmware/zmk.git
synced 2026-03-22 22:15:28 -05:00
Fixed initializing interrupts for direct GPIO when CONFIG_ZMK_KSCAN_DIRECT_POLLING is not enabled. IS_ENABLED() is needed to map the possibly-undefined value to 0 or 1 so COND_CODE_0() and COND_CODE_1() work.