Remove redundant check in the software PDI programming code of the AVRISP project.
authorDean Camera <dean@fourwalledcubicle.com>
Wed, 17 Mar 2010 13:07:22 +0000 (13:07 +0000)
committerDean Camera <dean@fourwalledcubicle.com>
Wed, 17 Mar 2010 13:07:22 +0000 (13:07 +0000)
Demos/DualRole/ClassDriver/MouseHostDevice/HostFunctions.c
LUFA/ManPages/ChangeLog.txt
Projects/AVRISP-MKII/Lib/XPROG/XPROGTarget.c

index 341b0d5..22ebc55 100644 (file)
@@ -142,7 +142,7 @@ void MouseHostTask(void)
                                break;\r
                        }\r
 \r
-                       if (HID_Host_SetBootProtocol(&Mouse_HID_Host_Interface) != 0)\r
+                       if (HID_Host_SetBootProtocol(&Mouse_HID_Host_Interface) != HOST_SENDCONTROL_Successful)\r
                        {\r
                                printf("Could not Set Boot Protocol Mode.\r\n");\r
                                LEDs_SetAllLEDs(LEDMASK_USB_ERROR);\r
index 8ce9f22..2840630 100644 (file)
@@ -12,9 +12,8 @@
   *  - (None)\r
   *\r
   *  <b>Changed:</b>\r
-  *  - AVRISP programmer project now has a more robust timeout system, allowing for a doubling of the software USART speed\r
+  *  - AVRISP programmer project now has a more robust timeout system, allowing for an increse of the software USART speed\r
   *    for PDI and TPI programming\r
-  *  - Increased the speed of both software and hardware TPI/PDI programming modes of the AVRISP project\r
   *  - Added a timeout value to the TWI_StartTransmission() function, within which the addressed device must respond\r
   *  - Webserver project now uses the board LEDs to indicate the current IP configuration state\r
   *  - Added ENABLE_TELNET_SERVER compile time option to the Webserver project to disable the TELNET server if desired\r
index 15467fe..bfc2e82 100644 (file)
@@ -80,10 +80,6 @@ ISR(TIMER1_COMPA_vect, ISR_BLOCK)
        }\r
        else\r
        {\r
-               /* If not sending or receiving, just exit */\r
-               if (!(SoftUSART_BitCount))\r
-                 return;\r
-\r
                /* If at falling clock edge and we are in receive mode, abort */\r
                if (!IsSending)\r
                  return;\r