Changeset 91173333 in mainline for uspace/drv/hid/usbhid/usbhid.h
- Timestamp:
- 2018-01-13T21:36:13Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- edc51615
- Parents:
- 8a0c52a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/hid/usbhid/usbhid.h
r8a0c52a r91173333 46 46 #include <usb/hid/hid.h> 47 47 #include <stdbool.h> 48 #include <fibril_synch.h>49 48 50 49 typedef struct usb_hid_dev usb_hid_dev_t; … … 135 134 int report_nr; 136 135 volatile bool running; 137 138 /** True if polling should stop as soon as possible */139 volatile bool poll_stop;140 141 /** Synchronization primitives for joining polling end. */142 fibril_mutex_t poll_guard;143 fibril_condvar_t poll_cv;144 136 }; 145 137 … … 147 139 148 140 int usb_hid_init(usb_hid_dev_t *hid_dev, usb_device_t *dev); 149 150 void usb_hid_prepare_deinit(usb_hid_dev_t *hid_dev);151 141 152 142 void usb_hid_deinit(usb_hid_dev_t *hid_dev);
Note:
See TracChangeset
for help on using the changeset viewer.