aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/DualRole/ClassDriver/MouseHostDevice/HostFunctions.c
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2010-03-17 13:07:22 +0000
committerDean Camera <dean@fourwalledcubicle.com>2010-03-17 13:07:22 +0000
commit72527867f6bd2d800bd0a71a90fe7079fbe1ab47 (patch)
treeb59dc5f94ba86851ec3334e0f1f4eb16756043c1 /Demos/DualRole/ClassDriver/MouseHostDevice/HostFunctions.c
parent9a5ae36a4f62e0cda37972401c61727c6804a985 (diff)
downloadlufa-72527867f6bd2d800bd0a71a90fe7079fbe1ab47.tar.gz
lufa-72527867f6bd2d800bd0a71a90fe7079fbe1ab47.tar.bz2
lufa-72527867f6bd2d800bd0a71a90fe7079fbe1ab47.zip
Remove redundant check in the software PDI programming code of the AVRISP project.
Diffstat (limited to 'Demos/DualRole/ClassDriver/MouseHostDevice/HostFunctions.c')
-rw-r--r--Demos/DualRole/ClassDriver/MouseHostDevice/HostFunctions.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Demos/DualRole/ClassDriver/MouseHostDevice/HostFunctions.c b/Demos/DualRole/ClassDriver/MouseHostDevice/HostFunctions.c
index 341b0d50e..22ebc559a 100644
--- a/Demos/DualRole/ClassDriver/MouseHostDevice/HostFunctions.c
+++ b/Demos/DualRole/ClassDriver/MouseHostDevice/HostFunctions.c
@@ -142,7 +142,7 @@ void MouseHostTask(void)
break;
}
- if (HID_Host_SetBootProtocol(&Mouse_HID_Host_Interface) != 0)
+ if (HID_Host_SetBootProtocol(&Mouse_HID_Host_Interface) != HOST_SENDCONTROL_Successful)
{
printf("Could not Set Boot Protocol Mode.\r\n");
LEDs_SetAllLEDs(LEDMASK_USB_ERROR);