Remove redundant check in the software PDI programming code of the AVRISP project.

This commit is contained in:
Dean Camera committed 2010-03-17 13:07:22 +00:00
1 parent 9a5ae36a4f
commit 72527867f6
3 files changed
+2 -7

No files matched your search

@@ -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);