mirror of
https://github.com/openstenoproject/qmk
synced 2024-11-10 02:30:07 +00:00
Only re-send matrix every 5ms
The previous 1ms value was too often, and wouldn't always leave time for the visualizer
This commit is contained in:
parent
6039a4f6ed
commit
503565d174
1 changed files with 1 additions and 1 deletions
|
@ -212,7 +212,7 @@ void serial_link_update(void) {
|
|||
|
||||
systime_t current_time = chVTGetSystemTimeX();
|
||||
systime_t delta = current_time - last_update;
|
||||
if (changed || delta > US2ST(1000)) {
|
||||
if (changed || delta > US2ST(5000)) {
|
||||
last_update = current_time;
|
||||
last_matrix = matrix;
|
||||
matrix_object_t* m = begin_write_keyboard_matrix();
|
||||
|
|
Loading…
Reference in a new issue