summaryrefslogtreecommitdiff
path: root/keyboards/handwired/onekey/rp2040/mcuconf.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/handwired/onekey/rp2040/mcuconf.h')
-rw-r--r--keyboards/handwired/onekey/rp2040/mcuconf.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/keyboards/handwired/onekey/rp2040/mcuconf.h b/keyboards/handwired/onekey/rp2040/mcuconf.h
new file mode 100644
index 0000000000..5c2587395d
--- /dev/null
+++ b/keyboards/handwired/onekey/rp2040/mcuconf.h
@@ -0,0 +1,12 @@
+// Copyright 2022 Stefan Kerkmann
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#pragma once
+
+#include_next "mcuconf.h"
+
+#undef RP_PWM_USE_PWM0
+#define RP_PWM_USE_PWM0 TRUE
+
+#undef RP_PWM_USE_PWM4
+#define RP_PWM_USE_PWM4 TRUE