forked from mfulz_github/qmk_firmware
Remove redundant check in the software PDI programming code of the AVRISP project.
This commit is contained in:
parent
9a5ae36a4f
commit
72527867f6
|
@ -142,7 +142,7 @@ void MouseHostTask(void)
|
||||||
break;
|
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");
|
printf("Could not Set Boot Protocol Mode.\r\n");
|
||||||
LEDs_SetAllLEDs(LEDMASK_USB_ERROR);
|
LEDs_SetAllLEDs(LEDMASK_USB_ERROR);
|
||||||
|
|
|
@ -12,9 +12,8 @@
|
||||||
* - (None)
|
* - (None)
|
||||||
*
|
*
|
||||||
* <b>Changed:</b>
|
* <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
|
* 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
|
* - 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
|
* - 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
|
* - 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
|
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 at falling clock edge and we are in receive mode, abort */
|
||||||
if (!IsSending)
|
if (!IsSending)
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue