projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
State information for class drivers is now zeroed out during enumeration (both in...
[pub/USBasp.git]
/
Demos
/
Device
/
ClassDriver
/
GenericHID
/
GenericHID.c
diff --git
a/Demos/Device/ClassDriver/GenericHID/GenericHID.c
b/Demos/Device/ClassDriver/GenericHID/GenericHID.c
index
3f9c402
..
72063b6
100644
(file)
--- a/
Demos/Device/ClassDriver/GenericHID/GenericHID.c
+++ b/
Demos/Device/ClassDriver/GenericHID/GenericHID.c
@@
-51,11
+51,6
@@
USB_ClassInfo_HID_Device_t Generic_HID_Interface =
\r
.ReportINBufferSize = GENERIC_REPORT_SIZE,
\r
},
\r
\r
.ReportINBufferSize = GENERIC_REPORT_SIZE,
\r
},
\r
-
\r
- .State =
\r
- {
\r
- // Leave all state values to their defaults
\r
- }
\r
};
\r
\r
/** Main program entry point. This routine contains the overall program flow, including initial
\r
};
\r
\r
/** Main program entry point. This routine contains the overall program flow, including initial
\r