usb-keyboard: remove duplicate "end collection" marker from the report descriptor
authorarighi <arighi@38d2e660-2303-0410-9eaa-f027e97ec537>
Thu, 23 Sep 2010 10:24:18 +0000 (10:24 +0000)
committerarighi <arighi@38d2e660-2303-0410-9eaa-f027e97ec537>
Thu, 23 Sep 2010 10:24:18 +0000 (10:24 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4267 38d2e660-2303-0410-9eaa-f027e97ec537

bertos/drv/usb_keyboard.c

index f38c66a13446e5115841ced7a26cb010ece214ea..63c39c57f4c652673c4a833b90db6deca2fa937c 100644 (file)
@@ -148,8 +148,7 @@ static const uint8_t hid_report_descriptor[] =
        0x19, 0x00, // Usage Minimum (0)
        0x29, 0x65, // Usage Maximum (101)
        0x81, 0x00, // Input (Data, Array)
-       0xC0,   // End Collection
-       0xC0    // End Collection
+       0xC0, // End Collection
 };
 
 static const usb_hid_descriptor_t usb_hid_descriptor =