summaryrefslogtreecommitdiff
path: root/quantum/config_common.h
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2020-04-02 01:49:45 +1100
committerGitHub <noreply@github.com>2020-04-01 15:49:45 +0100
commit95c5c11d0b909f14696c9c0b2dd30b3bfd406273 (patch)
treed4b8a91d15cc824efd96f7ce63c47222cb665bd3 /quantum/config_common.h
parentb6a09502c626c3a94a859ab0a61d41a41835d611 (diff)
downloadqmk_firmware-95c5c11d0b909f14696c9c0b2dd30b3bfd406273.tar.gz
qmk_firmware-95c5c11d0b909f14696c9c0b2dd30b3bfd406273.zip
Miscellaneous cleanups (#8639)
* Miscellaneous cleanups * Cast NO_PIN
Diffstat (limited to 'quantum/config_common.h')
-rw-r--r--quantum/config_common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/quantum/config_common.h b/quantum/config_common.h
index f981f3f8cb..4cfd74b0fe 100644
--- a/quantum/config_common.h
+++ b/quantum/config_common.h
@@ -21,7 +21,7 @@
#define ROW2COL 1
// useful for direct pin mapping
-#define NO_PIN (~0)
+#define NO_PIN (pin_t)(~0)
#ifdef __AVR__
# ifndef __ASSEMBLER__