Force platform pin defs to be included (#16611)

* Force platform pin defs to be included

* Always grab first header
This commit is contained in:
Joel Challis authored and GitHub committed 2022-03-10 23:53:16 +00:00
1 parent e9458fd694
commit 7e6f1c9e08
4 files changed
+2 -2

No files matched your search

File renamed without changes.
File renamed without changes.
File renamed without changes.
+2 -2
View File
@@ -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