From 328f64069dce8e38f8107e0da5f419d2ebb031aa Mon Sep 17 00:00:00 2001 From: funnydog Date: Tue, 13 Dec 2016 12:35:58 +0100 Subject: hal: fix the compilation of hal_usb_hid.c Fix the compilation of hal_usb_hid.c that broke because of the changes in ibqObjectInit() and obqObjectInit() prototypes. In hidObjectInit() call these functions with the additional suspend parameter set to true as done in ChibiOS-RT. --- os/hal/src/hal_usb_hid.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'os') diff --git a/os/hal/src/hal_usb_hid.c b/os/hal/src/hal_usb_hid.c index 56be9b7..d9d671b 100644 --- a/os/hal/src/hal_usb_hid.c +++ b/os/hal/src/hal_usb_hid.c @@ -221,10 +221,10 @@ void hidObjectInit(USBHIDDriver *uhdp) { uhdp->vmt = &vmt; osalEventObjectInit(&uhdp->event); uhdp->state = HID_STOP; - ibqObjectInit(&uhdp->ibqueue, uhdp->ib, + ibqObjectInit(&uhdp->ibqueue, true, uhdp->ib, USB_HID_BUFFERS_SIZE, USB_HID_BUFFERS_NUMBER, ibnotify, uhdp); - obqObjectInit(&uhdp->obqueue, uhdp->ob, + obqObjectInit(&uhdp->obqueue, true, uhdp->ob, USB_HID_BUFFERS_SIZE, USB_HID_BUFFERS_NUMBER, obnotify, uhdp); } -- cgit v1.2.3