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

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

View file

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