projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add blocking versions of the CDC Class driver streams, for applications requiring...
[pub/USBasp.git]
/
Demos
/
Host
/
ClassDriver
/
KeyboardHost
/
KeyboardHost.c
diff --git
a/Demos/Host/ClassDriver/KeyboardHost/KeyboardHost.c
b/Demos/Host/ClassDriver/KeyboardHost/KeyboardHost.c
index
0f901dd
..
1b5f8c7
100644
(file)
--- a/
Demos/Host/ClassDriver/KeyboardHost/KeyboardHost.c
+++ b/
Demos/Host/ClassDriver/KeyboardHost/KeyboardHost.c
@@
-45,7
+45,10
@@
USB_ClassInfo_HID_Host_t Keyboard_HID_Interface =
.Config =
\r
{
\r
.DataINPipeNumber = 1,
\r
.Config =
\r
{
\r
.DataINPipeNumber = 1,
\r
+ .DataINPipeDoubleBank = false,
\r
+
\r
.DataOUTPipeNumber = 2,
\r
.DataOUTPipeNumber = 2,
\r
+ .DataOUTPipeDoubleBank = false,
\r
\r
.HIDInterfaceProtocol = HID_BOOT_KEYBOARD_PROTOCOL,
\r
},
\r
\r
.HIDInterfaceProtocol = HID_BOOT_KEYBOARD_PROTOCOL,
\r
},
\r
@@
-53,7
+56,7
@@
USB_ClassInfo_HID_Host_t Keyboard_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