aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Host
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2009-09-22 09:52:25 +0000
committerDean Camera <dean@fourwalledcubicle.com>2009-09-22 09:52:25 +0000
commit073a58cd29671b3f25296137961bb4c75aa1ecc3 (patch)
treee8dcda75516caea169609880b7ca7dc747b20456 /Demos/Host
parent849b9535e7f4ca84aa909cfb9e985ae29f14be72 (diff)
downloadlufa-073a58cd29671b3f25296137961bb4c75aa1ecc3.tar.gz
lufa-073a58cd29671b3f25296137961bb4c75aa1ecc3.tar.bz2
lufa-073a58cd29671b3f25296137961bb4c75aa1ecc3.zip
Fix broken Host ClassDriver MouseHostWithParser demo.
Diffstat (limited to 'Demos/Host')
-rw-r--r--Demos/Host/ClassDriver/MouseHostWithParser/MouseHostWithParser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Demos/Host/ClassDriver/MouseHostWithParser/MouseHostWithParser.c b/Demos/Host/ClassDriver/MouseHostWithParser/MouseHostWithParser.c
index f222eee41..0aa7d4ad6 100644
--- a/Demos/Host/ClassDriver/MouseHostWithParser/MouseHostWithParser.c
+++ b/Demos/Host/ClassDriver/MouseHostWithParser/MouseHostWithParser.c
@@ -120,7 +120,7 @@ int main(void)
case HOST_STATE_Configured:
if (HID_Host_IsReportReceived(&Mouse_HID_Interface))
{
- uint8_t MouseReport[Keyboard_HID_Interface.State.LargestReportSize];
+ uint8_t MouseReport[Mouse_HID_Interface.State.LargestReportSize];
HID_Host_ReceiveReport(&Mouse_HID_Interface, &MouseReport);
uint8_t LEDMask = LEDS_NO_LEDS;