Browse Source

Only re-send matrix every 5ms

The previous 1ms value was too often, and wouldn't always leave
time for the visualizer
pull/1217/head
Fred Sundvik 7 years ago
parent
commit
503565d174
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      quantum/serial_link/system/serial_link.c

+ 1
- 1
quantum/serial_link/system/serial_link.c View File

@ -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…
Cancel
Save