ソースを参照

Fixup builds so that teensy EEPROM knows which MCU it's targeting. (#16168)

Nick Brassel 3 年 前
コミット
1bdc1c23c7
1 ファイル変更3 行追加0 行削除
  1. 3 0
      platforms/chibios/eeprom_teensy.h

+ 3 - 0
platforms/chibios/eeprom_teensy.h

@@ -2,6 +2,9 @@
 // SPDX-License-Identifier: GPL-2.0-or-later
 #pragma once
 
+#include <ch.h>
+#include <hal.h>
+
 #if defined(K20x)
 /* Teensy 3.0, 3.1, 3.2; mchck; infinity keyboard */
 // The EEPROM is really RAM with a hardware-based backup system to