From cd861043772a2e3d44edb6438d0bdab621a7828c Mon Sep 17 00:00:00 2001 From: tmk Date: Tue, 1 Jul 2014 10:16:19 +0900 Subject: [PATCH] Fix consumer key bug --- keyboard/hhkb_rn42/rn42.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keyboard/hhkb_rn42/rn42.c b/keyboard/hhkb_rn42/rn42.c index dceea72c..c25e1937 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); }