summaryrefslogtreecommitdiff
path: root/keyboard
diff options
context:
space:
mode:
Diffstat (limited to 'keyboard')
-rw-r--r--keyboard/hhkb_rn42/rn42.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/keyboard/hhkb_rn42/rn42.c b/keyboard/hhkb_rn42/rn42.c
index dceea72ca0..c25e193719 100644
--- a/keyboard/hhkb_rn42/rn42.c
+++ b/keyboard/hhkb_rn42/rn42.c
@@ -139,8 +139,8 @@ static void send_consumer(uint16_t data)
serial_send(0xFD); // Raw report mode
serial_send(3); // length
serial_send(3); // descriptor type
- serial_send((bits>>8)&0xFF);
serial_send(bits&0xFF);
+ serial_send((bits>>8)&0xFF);
}