commit ddd56f5d83a971498a4bddd6b66611fd7e332137
parent 6086cc84330797308619567a2f6f52e980c630c1
Author: Jack Sangdahl <jack@pngu.org>
Date: Fri, 14 Nov 2025 09:36:56 -0700
Fix buggy GPIO behaviour on Pseusplit
Diffstat:
1 file changed, 6 insertions(+), 0 deletions(-)
diff --git a/keyboards/pseusplit/pseusplit.c b/keyboards/pseusplit/pseusplit.c
@@ -2,6 +2,12 @@
// SPDX-License-Identifier: GPL-2.0-or-later
#include "quantum.h"
+void keyboard_pre_init_kb(void) {
+ // Disable UCPDx_CCy AF on PB15
+ SYSCFG->CFGR1 |= SYSCFG_CFGR1_UCPD1_STROBE | SYSCFG_CFGR1_UCPD2_STROBE;
+ keyboard_pre_init_user();
+}
+
#if defined(QUANTUM_PAINTER_ENABLE) && defined(POINTING_DEVICE_ENABLE)
#error "Cannot enable both Quantum Painter and Pointing Device"
#endif