From: arighi Date: Thu, 23 Sep 2010 10:24:18 +0000 (+0000) Subject: usb-keyboard: remove duplicate "end collection" marker from the report descriptor X-Git-Tag: 2.6.0~134 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=eee275e275c4886e574827dc7197169953ce1565;p=bertos.git usb-keyboard: remove duplicate "end collection" marker from the report descriptor git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4267 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/bertos/drv/usb_keyboard.c b/bertos/drv/usb_keyboard.c index f38c66a1..63c39c57 100644 --- a/bertos/drv/usb_keyboard.c +++ b/bertos/drv/usb_keyboard.c @@ -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 =