~ruther/qmk_firmware

7e6f1c9e08874933618bf97c0e338fce44aa2713 — Joel Challis 3 years ago e9458fd
Force platform pin defs to be included (#16611)

* Force platform pin defs to be included

* Always grab first header
R platforms/arm_atsam/pin_defs.h => platforms/arm_atsam/_pin_defs.h +0 -0
R platforms/avr/pin_defs.h => platforms/avr/_pin_defs.h +0 -0
R platforms/chibios/pin_defs.h => platforms/chibios/_pin_defs.h +0 -0
M platforms/pin_defs.h => platforms/pin_defs.h +2 -2
@@ 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