projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make HID device class driver reselect the correct endpoint after the user callbacks...
[pub/USBasp.git]
/
Demos
/
Host
/
ClassDriver
/
MouseHostWithParser
/
MouseHostWithParser.c
diff --git
a/Demos/Host/ClassDriver/MouseHostWithParser/MouseHostWithParser.c
b/Demos/Host/ClassDriver/MouseHostWithParser/MouseHostWithParser.c
index
00cdb72
..
6218f4c
100644
(file)
--- a/
Demos/Host/ClassDriver/MouseHostWithParser/MouseHostWithParser.c
+++ b/
Demos/Host/ClassDriver/MouseHostWithParser/MouseHostWithParser.c
@@
-58,7
+58,7
@@
USB_ClassInfo_HID_Host_t Mouse_HID_Interface =
\r
\r
/** Main program entry point. This routine configures the hardware required by the application, then
\r
\r
\r
/** Main program entry point. This routine configures the hardware required by the application, then
\r
- *
starts the scheduler to run the application tasks
.
\r
+ *
enters a loop to run the application tasks in sequence
.
\r
*/
\r
int main(void)
\r
{
\r
*/
\r
int main(void)
\r
{
\r
@@
-261,5
+261,5
@@
bool CALLBACK_HIDParser_FilterHIDReportItem(HID_ReportItem_Attributes_t* Current
* structure to save RAM and ignore the rest
\r
*/
\r
return ((CurrentItemAttributes->Usage.Page == USAGE_PAGE_BUTTON) ||
\r
* structure to save RAM and ignore the rest
\r
*/
\r
return ((CurrentItemAttributes->Usage.Page == USAGE_PAGE_BUTTON) ||
\r
- (CurrentItemAttributes->Usage.Page == USAGE_PAGE_GENERIC_DCTRL))
\r
+ (CurrentItemAttributes->Usage.Page == USAGE_PAGE_GENERIC_DCTRL))
;
\r
}
\r
}
\r