瀏覽代碼

fixed constructor

master
Robin Thoni 10 年之前
父節點
當前提交
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()

Loading…
取消
儲存