From c1481629fd882fcda2bbdbf236e93066eb68f89f Mon Sep 17 00:00:00 2001 From: Xelus22 <17491233+Xelus22@users.noreply.github.com> Date: Mon, 2 Nov 2020 00:44:38 +0000 Subject: [PATCH] [Keyboard] Fix keyboard matrix scan rate with F072 (#10226) * fix matrix scan rate * Update trinityxttkl.c * Update rev2.c --- keyboards/aeboards/ext65/rev2/rev2.c | 3 +++ keyboards/xelus/trinityxttkl/trinityxttkl.c | 3 +++ 2 files changed, 6 insertions(+) diff --git a/keyboards/aeboards/ext65/rev2/rev2.c b/keyboards/aeboards/ext65/rev2/rev2.c index 35e88a8b1..5d7658101 100644 --- a/keyboards/aeboards/ext65/rev2/rev2.c +++ b/keyboards/aeboards/ext65/rev2/rev2.c @@ -1,5 +1,8 @@ #include "rev2.h" +// Tested and verified working on ext65rev2 +void matrix_io_delay(void) { __asm__ volatile("nop\nnop\nnop\n"); } + #ifdef OLED_DRIVER_ENABLE void board_init(void) { SYSCFG->CFGR1 |= SYSCFG_CFGR1_I2C1_DMA_RMP; diff --git a/keyboards/xelus/trinityxttkl/trinityxttkl.c b/keyboards/xelus/trinityxttkl/trinityxttkl.c index fbf38010a..c548a10cf 100644 --- a/keyboards/xelus/trinityxttkl/trinityxttkl.c +++ b/keyboards/xelus/trinityxttkl/trinityxttkl.c @@ -1 +1,4 @@ #include "trinityxttkl.h" + +// Tested and verified working on Trinity XT TKL +void matrix_io_delay(void) { __asm__ volatile("nop\nnop\nnop\n"); }