diff options
Diffstat (limited to 'quantum/config_common.h')
-rw-r--r-- | quantum/config_common.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/quantum/config_common.h b/quantum/config_common.h index 5df48e20b4..b3abdee774 100644 --- a/quantum/config_common.h +++ b/quantum/config_common.h @@ -22,7 +22,7 @@ #define CUSTOM_MATRIX 2 /* Disables built-in matrix scanning code */ // useful for direct pin mapping -#define NO_PIN (~0) +#define NO_PIN (pin_t)(~0) #ifdef __AVR__ # ifndef __ASSEMBLER__ |