Remove redundant check in the software PDI programming code of the AVRISP project.
This commit is contained in:
parent
9a5ae36a4f
commit
72527867f6
3 changed files with 2 additions and 7 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue