Merge remote-tracking branch 'upstream/master'
This commit is contained in:
commit
caad39421c
170 changed files with 38730 additions and 26170 deletions
|
|
@ -51,8 +51,10 @@ size_t Serial_::write(uint8_t c)
|
|||
|
||||
size_t Serial_::write(const uint8_t *buffer, size_t size)
|
||||
{
|
||||
sendchar(*buffer);
|
||||
return 1;
|
||||
for (int i = 0; i < size; i++) {
|
||||
sendchar(buffer[i]);
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
Serial_::operator bool() {
|
||||
|
|
|
|||
|
|
@ -12,6 +12,15 @@ void KBDReportParser::Parse(USBHID *hid, bool is_rpt_id, uint8_t len, uint8_t *b
|
|||
}
|
||||
xprintf("\r\n");
|
||||
|
||||
/* Keyboard can send report in size other than 8 bytes
|
||||
* https://github.com/tmk/tmk_keyboard/issues/773
|
||||
// boot keyboard report length should be 8
|
||||
if (len != 8) {
|
||||
xprintf(" ignored\r\n");
|
||||
return;
|
||||
}
|
||||
*/
|
||||
|
||||
// Rollover error
|
||||
// Cherry: 0101010101010101
|
||||
// https://geekhack.org/index.php?topic=69169.msg2638223#msg2638223
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue