[Keyboard] Fix keyboard matrix scan rate with F072 (#10226)

* fix matrix scan rate

* Update trinityxttkl.c

* Update rev2.c
This commit is contained in:
Xelus22 2020-11-02 00:44:38 +00:00 committed by GitHub
parent 83eecdce22
commit c1481629fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 0 deletions

View File

@ -1,5 +1,8 @@
#include "rev2.h" #include "rev2.h"
// Tested and verified working on ext65rev2
void matrix_io_delay(void) { __asm__ volatile("nop\nnop\nnop\n"); }
#ifdef OLED_DRIVER_ENABLE #ifdef OLED_DRIVER_ENABLE
void board_init(void) { void board_init(void) {
SYSCFG->CFGR1 |= SYSCFG_CFGR1_I2C1_DMA_RMP; SYSCFG->CFGR1 |= SYSCFG_CFGR1_I2C1_DMA_RMP;

View File

@ -1 +1,4 @@
#include "trinityxttkl.h" #include "trinityxttkl.h"
// Tested and verified working on Trinity XT TKL
void matrix_io_delay(void) { __asm__ volatile("nop\nnop\nnop\n"); }