aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers/USB
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2009-12-09 12:01:01 +0000
committerDean Camera <dean@fourwalledcubicle.com>2009-12-09 12:01:01 +0000
commit9c8ed168e5805059db7978e6a9a4ad24347c7a6e (patch)
tree335ca20c5911c30724585c42f78e7ade01379646 /LUFA/Drivers/USB
parente4cfd5208fdb51942ad8857dd5e1d96f5216f73b (diff)
downloadlufa-9c8ed168e5805059db7978e6a9a4ad24347c7a6e.tar.gz
lufa-9c8ed168e5805059db7978e6a9a4ad24347c7a6e.tar.bz2
lufa-9c8ed168e5805059db7978e6a9a4ad24347c7a6e.zip
Fix inverted bit-banged USART logic in the AVRISP project for PDI programming. Add a delay to the clock toggling in the AVRISP project to ensure that the programming speed does not exceed 10MHz under any conditions to satisfy the limits in the datasheet for all target voltages. Fix incorrect pin being used as the DATA in in PDI programming mode.
Diffstat (limited to 'LUFA/Drivers/USB')
-rw-r--r--LUFA/Drivers/USB/LowLevel/Endpoint.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/LUFA/Drivers/USB/LowLevel/Endpoint.h b/LUFA/Drivers/USB/LowLevel/Endpoint.h
index 8ff930611..ef23253a5 100644
--- a/LUFA/Drivers/USB/LowLevel/Endpoint.h
+++ b/LUFA/Drivers/USB/LowLevel/Endpoint.h
@@ -338,7 +338,7 @@
*/
static inline void Endpoint_SetEndpointDirection(uint8_t DirectionMask);
#else
- #if defined(USB_SERIES_6_AVR) || defined(USB_SERIES_7_AVR) || defined(__DOXYGEN__)
+ #if defined(USB_SERIES_6_AVR) || defined(USB_SERIES_7_AVR)
#define Endpoint_BytesInEndpoint() UEBCX
#elif defined(USB_SERIES_4_AVR)
#define Endpoint_BytesInEndpoint() (((uint16_t)UEBCHX << 8) | UEBCLX)