aboutsummaryrefslogtreecommitdiff
path: root/Demos/Host/ClassDriver/KeyboardHost/KeyboardHost.c
diff options
context:
space:
mode:
authorDean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28>2009-11-07 03:51:24 +0000
committerDean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28>2009-11-07 03:51:24 +0000
commit452f2c3afa5d039e38464179f37e911077d83d43 (patch)
treed56ab85da8a50eda61feb3d625d2f53f06bd66e7 /Demos/Host/ClassDriver/KeyboardHost/KeyboardHost.c
parentc4ef7b0a99dd31236c2b9de2674f348cfafcab93 (diff)
Add optional pipe double banking support to the Host mode Class drivers.
Descriptor processing routines now pass around void pointers rather than uint8_t pointers, as their destination datatype is know well known -- they are just streams of bytes until they are cast to the correct destination type by DESCRIPTOR_CAST. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@884 d5102386-fcda-11dd-9fdb-3debd5008f28
Diffstat (limited to 'Demos/Host/ClassDriver/KeyboardHost/KeyboardHost.c')
-rw-r--r--Demos/Host/ClassDriver/KeyboardHost/KeyboardHost.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/Demos/Host/ClassDriver/KeyboardHost/KeyboardHost.c b/Demos/Host/ClassDriver/KeyboardHost/KeyboardHost.c
index b483defa..1b5f8c72 100644
--- 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 =
{
.DataINPipeNumber = 1,
+ .DataINPipeDoubleBank = false,
+
.DataOUTPipeNumber = 2,
+ .DataOUTPipeDoubleBank = false,
.HIDInterfaceProtocol = HID_BOOT_KEYBOARD_PROTOCOL,
},