From dd32cdf527d4647a9488b1b4c142fff1d663bc56 Mon Sep 17 00:00:00 2001 From: Joel Challis Date: Fri, 11 Mar 2022 18:50:59 +0000 Subject: Redo workaround for pin_def errors on KINETIS (#16620) * Redo workaround for pin_def errors on KINETIS * Redo workaround for pin_def errors on KINETIS --- platforms/chibios/_pin_defs.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'platforms/chibios') diff --git a/platforms/chibios/_pin_defs.h b/platforms/chibios/_pin_defs.h index c03f8de0c2..a84d931cc2 100644 --- a/platforms/chibios/_pin_defs.h +++ b/platforms/chibios/_pin_defs.h @@ -15,6 +15,12 @@ */ #pragma once +#if defined(MCU_KINETIS) +// TODO: including this avoids "error: expected identifier before '(' token" errors +// here just to please KINETIS builds... +# include +#endif + // Defines mapping for Proton C replacement #ifdef CONVERT_TO_PROTON_C // Left side (front) -- cgit v1.2.3