1
0
Fork 0

Fix consumer key bug

This commit is contained in:
tmk 2014-07-01 10:16:19 +09:00
parent 31a298f9d9
commit cd86104377

View file

@ -139,8 +139,8 @@ static void send_consumer(uint16_t data)
serial_send(0xFD); // Raw report mode serial_send(0xFD); // Raw report mode
serial_send(3); // length serial_send(3); // length
serial_send(3); // descriptor type serial_send(3); // descriptor type
serial_send((bits>>8)&0xFF);
serial_send(bits&0xFF); serial_send(bits&0xFF);
serial_send((bits>>8)&0xFF);
} }