summaryrefslogtreecommitdiff
path: root/platforms/pin_defs.h
diff options
context:
space:
mode:
Diffstat (limited to 'platforms/pin_defs.h')
-rw-r--r--platforms/pin_defs.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/platforms/pin_defs.h b/platforms/pin_defs.h
index ea730138f2..341fe89b6e 100644
--- a/platforms/pin_defs.h
+++ b/platforms/pin_defs.h
@@ -18,6 +18,6 @@
// useful for direct pin mapping
#define NO_PIN (pin_t)(~0)
-#if __has_include_next("pin_defs.h")
-# include_next "pin_defs.h" /* Include the platforms pin_defs.h */
+#if __has_include("_pin_defs.h")
+# include "_pin_defs.h" /* Include the platforms pin defs */
#endif