mirror of
https://github.com/openstenoproject/qmk
synced 2024-11-09 10:13:29 +00:00
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
This commit is contained in:
parent
0eb42e042c
commit
dd32cdf527
2 changed files with 6 additions and 4 deletions
|
@ -15,6 +15,12 @@
|
||||||
*/
|
*/
|
||||||
#pragma once
|
#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
|
// Defines mapping for Proton C replacement
|
||||||
#ifdef CONVERT_TO_PROTON_C
|
#ifdef CONVERT_TO_PROTON_C
|
||||||
// Left side (front)
|
// Left side (front)
|
||||||
|
|
|
@ -15,10 +15,6 @@
|
||||||
*/
|
*/
|
||||||
#pragma once
|
#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
|
// useful for direct pin mapping
|
||||||
#define NO_PIN (pin_t)(~0)
|
#define NO_PIN (pin_t)(~0)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue