aboutsummaryrefslogtreecommitdiff
path: root/keyboards/ibm/model_m_4th_gen
diff options
context:
space:
mode:
authorJoel Challis <[email protected]>2025-03-09 23:41:24 +0000
committerGitHub <[email protected]>2025-03-09 23:41:24 +0000
commit67934546ea59f9e7782e55985281d07319f21639 (patch)
tree6f1f0943c88b459526dde537f9776275362cf49f /keyboards/ibm/model_m_4th_gen
parent21c1fd5e5b0cfcb3823843857d47600c39b97f0a (diff)
downloadqmk_firmware-67934546ea59f9e7782e55985281d07319f21639.tar.gz
qmk_firmware-67934546ea59f9e7782e55985281d07319f21639.zip
Only configure `STM32_HSECLK` within `board.h` (#25001)
Diffstat (limited to 'keyboards/ibm/model_m_4th_gen')
-rw-r--r--keyboards/ibm/model_m_4th_gen/overnumpad_1xb/board.h8
-rw-r--r--keyboards/ibm/model_m_4th_gen/overnumpad_1xb/config.h2
2 files changed, 8 insertions, 2 deletions
diff --git a/keyboards/ibm/model_m_4th_gen/overnumpad_1xb/board.h b/keyboards/ibm/model_m_4th_gen/overnumpad_1xb/board.h
new file mode 100644
index 0000000000..5b80eb2230
--- /dev/null
+++ b/keyboards/ibm/model_m_4th_gen/overnumpad_1xb/board.h
@@ -0,0 +1,8 @@
+// Copyright 2020 Purdea Andrei
+// 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/ibm/model_m_4th_gen/overnumpad_1xb/config.h b/keyboards/ibm/model_m_4th_gen/overnumpad_1xb/config.h
index 71e60e9cfe..c10d26b9b2 100644
--- a/keyboards/ibm/model_m_4th_gen/overnumpad_1xb/config.h
+++ b/keyboards/ibm/model_m_4th_gen/overnumpad_1xb/config.h
@@ -21,8 +21,6 @@
#define SERIAL_NUMBER DEF_SERIAL_NUMBER
#endif
-#define STM32_HSECLK 16000000
-
#define SOLENOID_PIN B5
#define HAPTIC_ENABLE_PIN C13
#define SOLENOID_DEFAULT_DWELL 20