瀏覽代碼

Workaround for pin_def errors on KINETIS (#16614)

Joel Challis 3 年之前
父節點
當前提交
1833e65370
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      platforms/pin_defs.h

+ 4 - 0
platforms/pin_defs.h

@@ -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)