Skip to content

Commit

Permalink
Force platform pin defs to be included (qmk#16611)
Browse files Browse the repository at this point in the history
* Force platform pin defs to be included

* Always grab first header
  • Loading branch information
zvecr authored and zykrah committed Jul 2, 2022
1 parent 3f7123a commit 581e42a
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 2 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions platforms/pin_defs.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 581e42a

Please sign in to comment.