diff options
author | Joel Challis <git@zvecr.com> | 2022-03-10 23:53:16 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-10 23:53:16 +0000 |
commit | 7e6f1c9e08874933618bf97c0e338fce44aa2713 (patch) | |
tree | 9cb385071a1c034f8dad11709ab947c8f888f68f /platforms/pin_defs.h | |
parent | e9458fd694362ec77a2dee25b4a95765ade25632 (diff) |
Force platform pin defs to be included (#16611)
* Force platform pin defs to be included
* Always grab first header
Diffstat (limited to 'platforms/pin_defs.h')
-rw-r--r-- | platforms/pin_defs.h | 4 |
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 |