Browse Source

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

Nick Brassel 3 years ago
parent
commit
1bdc1c23c7
1 changed files with 3 additions and 0 deletions
  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