浏览代码

Just ignore ADB Service Request

- to support Adjustable keyboard(composite device?)
tags/v1.9
tmk 9 年前
父节点
当前提交
79840c678e
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4
    0
      protocol/adb.c

+ 4
- 0
protocol/adb.c 查看文件

@@ -128,6 +128,10 @@ uint16_t adb_host_kbd_recv(void)
attention();
send_byte(0x2C); // Addr:Keyboard(0010), Cmd:Talk(11), Register0(00)
place_bit0(); // Stopbit(0)
if (!wait_data_hi(500)) { // Service Request(310us Adjustable Keyboard): just ignored
sei();
return -30; // something wrong
}
if (!wait_data_lo(500)) { // Tlt/Stop to Start(140-260us)
sei();
return 0; // No data to send

正在加载...
取消
保存