Skip to content
Snippets Groups Projects
Commit 72527867 authored by Dean Camera's avatar Dean Camera
Browse files

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

parent 9a5ae36a
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment