aboutsummaryrefslogtreecommitdiff
path: root/keyboards/teleport
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/teleport')
-rw-r--r--keyboards/teleport/native/board.h8
-rw-r--r--keyboards/teleport/native/config.h3
2 files changed, 8 insertions, 3 deletions
diff --git a/keyboards/teleport/native/board.h b/keyboards/teleport/native/board.h
new file mode 100644
index 0000000000..41efeb2c1a
--- /dev/null
+++ b/keyboards/teleport/native/board.h
@@ -0,0 +1,8 @@
+// Copyright 2022 Moritz Plattner
+// SPDX-License-Identifier: GPL-2.0-or-later
+#pragma once
+
+#include_next <board.h>
+
+#undef STM32_HSECLK
+#define STM32_HSECLK 16000000U
diff --git a/keyboards/teleport/native/config.h b/keyboards/teleport/native/config.h
index 31d0025883..cd823d725e 100644
--- a/keyboards/teleport/native/config.h
+++ b/keyboards/teleport/native/config.h
@@ -67,6 +67,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#ifdef ENABLE_RGB_MATRIX_TYPING_HEATMAP
#define RGB_MATRIX_TYPING_HEATMAP_SLIM
#endif
-
-/* Set HSE clock since it differs from F411 default */
-#define STM32_HSECLK 16000000