Force platform pin defs to be included (#16611)

* Force platform pin defs to be included

* Always grab first header
miryoku-merge-master
Joel Challis 4 years ago committed by GitHub
parent e9458fd694
commit 7e6f1c9e08
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -18,6 +18,6 @@
// useful for direct pin mapping // useful for direct pin mapping
#define NO_PIN (pin_t)(~0) #define NO_PIN (pin_t)(~0)
#if __has_include_next("pin_defs.h") #if __has_include("_pin_defs.h")
# include_next "pin_defs.h" /* Include the platforms pin_defs.h */ # include "_pin_defs.h" /* Include the platforms pin defs */
#endif #endif

Loading…
Cancel
Save