Skip to content

Commit

Permalink
Redo workaround for pin_def errors on KINETIS
Browse files Browse the repository at this point in the history
  • Loading branch information
zvecr committed Mar 11, 2022
1 parent 0eb42e0 commit 5460974
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions platforms/chibios/_pin_defs.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 <hal.h>
#endif

// Defines mapping for Proton C replacement
#ifdef CONVERT_TO_PROTON_C
// Left side (front)
Expand Down

0 comments on commit 5460974

Please sign in to comment.