1
0
Fork 0

teleport/native: switch from wrongly used user to kb function, boost matrix scan rate (#21172)

* enable LTO

* change from _user to _kb function

* switch matrix io delay to nops, add opt=3 for higher scan rates

* disable console which was enabled for testing but collides with endpoint used by VIA

* switched from opt=3 to opt=2

* Update keyboards/teleport/native/native.c

Co-authored-by: Joel Challis <git@zvecr.com>

* slightly upped debounce, as some testers had chatter with async + default debounce

---------

Co-authored-by: Joel Challis <git@zvecr.com>
This commit is contained in:
Moritz Plattner 2023-09-29 13:19:03 +02:00 committed by GitHub
parent ab1e851e7d
commit cfb4bb9b98
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 21 additions and 4 deletions

View file

@ -15,6 +15,9 @@
*/
#include QMK_KEYBOARD_H
// tested and working
void matrix_io_delay(void) { __asm__ volatile("nop\nnop\nnop\n"); }
enum layers{
BASE,
GAME,