浏览代码

fixed constructor

master
Robin Thoni 9 年前
父节点
当前提交
90a7068453
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      UsbKeyboard.hxx

+ 1
- 1
UsbKeyboard.hxx 查看文件

53
     //       missing first keystroke bug properly.
53
     //       missing first keystroke bug properly.
54
     memset(reportBuffer, 0, sizeof(reportBuffer));
54
     memset(reportBuffer, 0, sizeof(reportBuffer));
55
     usbSetInterrupt(reportBuffer, sizeof(reportBuffer));
55
     usbSetInterrupt(reportBuffer, sizeof(reportBuffer));
56
-    setLayout("us");
56
+    setLayout(layout);
57
 }
57
 }
58
 
58
 
59
 bool UsbKeyboardDevice::isUsbReady()
59
 bool UsbKeyboardDevice::isUsbReady()

正在加载...
取消
保存