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

pull/1469/head
Dean Camera 15 years ago
parent 9a5ae36a4f
commit 72527867f6

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

@ -12,9 +12,8 @@
* - (None)
*
* <b>Changed:</b>
* - AVRISP programmer project now has a more robust timeout system, allowing for a doubling of the software USART speed
* - AVRISP programmer project now has a more robust timeout system, allowing for an increse of the software USART speed
* for PDI and TPI programming
* - Increased the speed of both software and hardware TPI/PDI programming modes of the AVRISP project
* - Added a timeout value to the TWI_StartTransmission() function, within which the addressed device must respond
* - Webserver project now uses the board LEDs to indicate the current IP configuration state
* - Added ENABLE_TELNET_SERVER compile time option to the Webserver project to disable the TELNET server if desired

@ -80,10 +80,6 @@ ISR(TIMER1_COMPA_vect, ISR_BLOCK)
}
else
{
/* If not sending or receiving, just exit */
if (!(SoftUSART_BitCount))
return;
/* If at falling clock edge and we are in receive mode, abort */
if (!IsSending)
return;

Loading…
Cancel
Save