Changeset c7bdfa7 in mainline for uspace/drv/usbhid/kbd/kbddev.c
- Timestamp:
- 2011-04-10T18:37:33Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 1a46610, 26d46d2
- Parents:
- 4776ba9 (diff), 1cbb4b7 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/usbhid/kbd/kbddev.c
r4776ba9 rc7bdfa7 238 238 * @param icall Call data. 239 239 */ 240 void default_connection_handler(ddf_fun_t *fun,240 static void default_connection_handler(ddf_fun_t *fun, 241 241 ipc_callid_t icallid, ipc_call_t *icall) 242 242 { … … 856 856 /*----------------------------------------------------------------------------*/ 857 857 858 bool usb_kbd_polling_callback(usb_ device_t *dev, uint8_t *buffer,859 size_t buffer_size , void *arg)860 { 861 if ( dev == NULL || buffer == NULL || arg== NULL) {858 bool usb_kbd_polling_callback(usb_hid_dev_t *hid_dev, uint8_t *buffer, 859 size_t buffer_size) 860 { 861 if (hid_dev == NULL || buffer == NULL) { 862 862 // do not continue polling (???) 863 863 return false; 864 864 } 865 866 usb_hid_dev_t *hid_dev = (usb_hid_dev_t *)arg;867 865 868 866 // TODO: add return value from this function … … 916 914 /*----------------------------------------------------------------------------*/ 917 915 918 void usb_kbd_deinit( structusb_hid_dev_t *hid_dev)916 void usb_kbd_deinit(usb_hid_dev_t *hid_dev) 919 917 { 920 918 if (hid_dev == NULL) {
Note:
See TracChangeset
for help on using the changeset viewer.