summaryrefslogtreecommitdiff
path: root/keyboard/hhkb_rn42/rn42.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboard/hhkb_rn42/rn42.c')
-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);
}