aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal
diff options
context:
space:
mode:
authorFabio Utzig <utzig@utzig.org>2016-12-17 10:48:41 -0200
committerGitHub <noreply@github.com>2016-12-17 10:48:41 -0200
commit453a05641e71282ae55cae5317bf534685c3090a (patch)
tree935fc4d39e8e5a532be8457459c68b3faf645d43 /os/hal
parent2b9cfccc7657157b95d1d7f2fc079207a3c883c0 (diff)
parent328f64069dce8e38f8107e0da5f419d2ebb031aa (diff)
downloadChibiOS-Contrib-453a05641e71282ae55cae5317bf534685c3090a.tar.gz
ChibiOS-Contrib-453a05641e71282ae55cae5317bf534685c3090a.tar.bz2
ChibiOS-Contrib-453a05641e71282ae55cae5317bf534685c3090a.zip
Merge pull request #108 from funnydog/hal-fixes
hal: fix the compilation of hal_usb_hid.c
Diffstat (limited to 'os/hal')
-rw-r--r--os/hal/src/hal_usb_hid.c4
1 files changed, 2 insertions, 2 deletions
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);
}