diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2010-03-17 13:07:22 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2010-03-17 13:07:22 +0000 |
commit | 72527867f6bd2d800bd0a71a90fe7079fbe1ab47 (patch) | |
tree | b59dc5f94ba86851ec3334e0f1f4eb16756043c1 | |
parent | 9a5ae36a4f62e0cda37972401c61727c6804a985 (diff) | |
download | lufa-72527867f6bd2d800bd0a71a90fe7079fbe1ab47.tar.gz lufa-72527867f6bd2d800bd0a71a90fe7079fbe1ab47.tar.bz2 lufa-72527867f6bd2d800bd0a71a90fe7079fbe1ab47.zip |
Remove redundant check in the software PDI programming code of the AVRISP project.
-rw-r--r-- | Demos/DualRole/ClassDriver/MouseHostDevice/HostFunctions.c | 2 | ||||
-rw-r--r-- | LUFA/ManPages/ChangeLog.txt | 3 | ||||
-rw-r--r-- | Projects/AVRISP-MKII/Lib/XPROG/XPROGTarget.c | 4 |
3 files changed, 2 insertions, 7 deletions
diff --git a/Demos/DualRole/ClassDriver/MouseHostDevice/HostFunctions.c b/Demos/DualRole/ClassDriver/MouseHostDevice/HostFunctions.c index 341b0d50e..22ebc559a 100644 --- a/Demos/DualRole/ClassDriver/MouseHostDevice/HostFunctions.c +++ b/Demos/DualRole/ClassDriver/MouseHostDevice/HostFunctions.c @@ -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);
diff --git a/LUFA/ManPages/ChangeLog.txt b/LUFA/ManPages/ChangeLog.txt index 8ce9f2240..2840630db 100644 --- a/LUFA/ManPages/ChangeLog.txt +++ b/LUFA/ManPages/ChangeLog.txt @@ -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
diff --git a/Projects/AVRISP-MKII/Lib/XPROG/XPROGTarget.c b/Projects/AVRISP-MKII/Lib/XPROG/XPROGTarget.c index 15467fe84..bfc2e824d 100644 --- a/Projects/AVRISP-MKII/Lib/XPROG/XPROGTarget.c +++ b/Projects/AVRISP-MKII/Lib/XPROG/XPROGTarget.c @@ -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;
|