Fix consumer key bug

master
tmk 2014-07-01 10:16:19 +09:00
parent 31a298f9d9
commit cd86104377
1 changed files with 1 additions and 1 deletions

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);
} }