diff --git a/right/src/main.c b/right/src/main.c index c9ba028..4794a6c 100644 --- a/right/src/main.c +++ b/right/src/main.c @@ -9,5 +9,7 @@ void main() { LedDriver_EnableAllLeds(); InitUsb(); - while (1); + while (1){ + asm("wfi"); + } } diff --git a/right/src/usb_interface_keyboard.c b/right/src/usb_interface_keyboard.c index 6ee1163..f18f685 100644 --- a/right/src/usb_interface_keyboard.c +++ b/right/src/usb_interface_keyboard.c @@ -157,7 +157,7 @@ static uint8_t getKeycode(uint8_t keyId) { int activeIndex = (modifierState & MOD_PRESSED) ? 1 : 0; - if (keyId