Changeset 767da0a in mainline
- Timestamp:
- 2011-03-05T18:25:43Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 3de529c
- Parents:
- fad14d7
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usb/src/hidparser.c
rfad14d7 r767da0a 33 33 * @brief HID parser implementation. 34 34 */ 35 36 35 37 36 #include <usb/classes/hidparser.h> … … 500 499 printf("\tUSAGE: %X\n", report_item->usage); 501 500 printf("\tUSAGE PAGE: %X\n", report_item->usage_page); 501 printf("\tLOGMIN: %X\n", report_item->logical_minimum); 502 printf("\tLOGMAX: %X\n", report_item->logical_maximum); 503 printf("\tPHYMIN: %X\n", report_item->physical_minimum); 504 printf("\tPHYMAX: %X\n", report_item->physical_maximum); 502 505 printf("\n"); 503 506 … … 700 703 usb_log_debug2("---\n\n"); 701 704 702 return (int)(((value - item-> physical_minimum) / resolution) + item->logical_minimum);705 return (int)(((value - item->logical_minimum) / resolution) + item->physical_minimum); 703 706 704 707 }
Note:
See TracChangeset
for help on using the changeset viewer.