summaryrefslogtreecommitdiff
path: root/keyboards/handwired/ziyoulang_k3_mod/mcuconf.h
diff options
context:
space:
mode:
authorCoom <1655787+coomstoolbox@users.noreply.github.com>2023-12-12 17:44:14 +0900
committerGitHub <noreply@github.com>2023-12-12 00:44:14 -0800
commitfb3c91375c6ad706887c58146ba0463a5ef907a3 (patch)
treea1b43645cbc0007a555f57a2975ed9a5394439ac /keyboards/handwired/ziyoulang_k3_mod/mcuconf.h
parent1f9b653f586fcb5aaafbb8fcd8d2a5775d871f9c (diff)
[Keyboard] zk3mod : added OLED (#22303)
Co-authored-by: jack <0x6a73@protonmail.com> Co-authored-by: Ryan <fauxpark@gmail.com>
Diffstat (limited to 'keyboards/handwired/ziyoulang_k3_mod/mcuconf.h')
-rw-r--r--keyboards/handwired/ziyoulang_k3_mod/mcuconf.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/keyboards/handwired/ziyoulang_k3_mod/mcuconf.h b/keyboards/handwired/ziyoulang_k3_mod/mcuconf.h
new file mode 100644
index 0000000000..8f1da10fe2
--- /dev/null
+++ b/keyboards/handwired/ziyoulang_k3_mod/mcuconf.h
@@ -0,0 +1,22 @@
+/* Copyright 2021 QMK
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <https://www.gnu.org/licenses/>.
+ */
+
+#pragma once
+
+#include_next <mcuconf.h>
+
+#undef STM32_I2C_USE_I2C2
+#define STM32_I2C_USE_I2C2 TRUE