summaryrefslogtreecommitdiff
path: root/platforms/chibios
diff options
context:
space:
mode:
authorNick Brassel <nick@tzarc.org>2022-02-02 16:21:07 +1100
committerGitHub <noreply@github.com>2022-02-02 16:21:07 +1100
commit1bdc1c23c706bc65f62d4377abdcf000d2485de3 (patch)
treebc62d0963d4df4627c0cb4ba3818d925752b0f2d /platforms/chibios
parent593704b7a72b90f5f7cbbf2939b3519719be53c5 (diff)
Fixup builds so that teensy EEPROM knows which MCU it's targeting. (#16168)
Diffstat (limited to 'platforms/chibios')
-rwxr-xr-xplatforms/chibios/eeprom_teensy.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/platforms/chibios/eeprom_teensy.h b/platforms/chibios/eeprom_teensy.h
index ead5998b29..9a14a1fa79 100755
--- a/platforms/chibios/eeprom_teensy.h
+++ b/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