Only re-send matrix every 5ms

The previous 1ms value was too often, and wouldn't always leave
time for the visualizer
example_keyboards
Fred Sundvik 8 years ago
parent 6039a4f6ed
commit 503565d174

@ -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