summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortmk <nobody@nowhere>2014-07-01 10:16:19 +0900
committertmk <nobody@nowhere>2014-07-30 14:38:26 +0900
commitcd861043772a2e3d44edb6438d0bdab621a7828c (patch)
tree7dc6db15678f2e17c3862d7b8bbc984f08d4118d
parent31a298f9d9bc78f504d662e1590ec333c1f37735 (diff)
Fix consumer key bug
-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);
}