summaryrefslogtreecommitdiff
path: root/m0110_usb/matrix.c
diff options
context:
space:
mode:
Diffstat (limited to 'm0110_usb/matrix.c')
-rw-r--r--m0110_usb/matrix.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/m0110_usb/matrix.c b/m0110_usb/matrix.c
index f045920ccd..11303ee0fd 100644
--- a/m0110_usb/matrix.c
+++ b/m0110_usb/matrix.c
@@ -93,6 +93,9 @@ uint8_t matrix_scan(void)
#endif
if (key == M0110_NULL) {
return 0;
+ } else if (key == M0110_ERROR) {
+ // TODO: error recovery or reinit
+ return 0;
} else {
#ifdef MATRIX_HAS_LOCKING_CAPS
if (host_keyboard_leds() & (1<<USB_LED_CAPS_LOCK)) {