~ruther/qmk_firmware

1833e65370395d438b67b98a317e54d27a742c16 — Joel Challis 3 years ago 0015eba
Workaround for pin_def errors on KINETIS (#16614)

1 files changed, 4 insertions(+), 0 deletions(-)

M platforms/pin_defs.h
M platforms/pin_defs.h => platforms/pin_defs.h +4 -0
@@ 15,6 15,10 @@
 */
#pragma once

// TODO: including this avoids "error: expected identifier before '(' token" errors
//       here just to please KINETIS builds...
#include "platform_deps.h"

// useful for direct pin mapping
#define NO_PIN (pin_t)(~0)