aboutsummaryrefslogtreecommitdiffstats
path: root/Projects/AVRISP-MKII/Lib/XPROG/XPROGTarget.h
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2009-12-29 14:43:03 +0000
committerDean Camera <dean@fourwalledcubicle.com>2009-12-29 14:43:03 +0000
commitb1dbd92c32022c2ec1601f6a6e51c5714a69c56c (patch)
tree6b32bb39caf32b9106f0fc303b7364bbe3a495f5 /Projects/AVRISP-MKII/Lib/XPROG/XPROGTarget.h
parente1c1c256192c099f5bfa23946c050aa5954aca4a (diff)
downloadlufa-b1dbd92c32022c2ec1601f6a6e51c5714a69c56c.tar.gz
lufa-b1dbd92c32022c2ec1601f6a6e51c5714a69c56c.tar.bz2
lufa-b1dbd92c32022c2ec1601f6a6e51c5714a69c56c.zip
Fixed AVRISP PDI race condition where the guard time between direction changes could be interpreted as a start bit. Fixed TPI interface lines not being changed correctly when in bit-banged TPI mode.
Diffstat (limited to 'Projects/AVRISP-MKII/Lib/XPROG/XPROGTarget.h')
-rw-r--r--Projects/AVRISP-MKII/Lib/XPROG/XPROGTarget.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/Projects/AVRISP-MKII/Lib/XPROG/XPROGTarget.h b/Projects/AVRISP-MKII/Lib/XPROG/XPROGTarget.h
index 3bbf454be..dab41f316 100644
--- a/Projects/AVRISP-MKII/Lib/XPROG/XPROGTarget.h
+++ b/Projects/AVRISP-MKII/Lib/XPROG/XPROGTarget.h
@@ -44,6 +44,7 @@
#include <LUFA/Common/Common.h>
#include "../V2Protocol.h"
+ #include "XPROGProtocol.h"
/* Preprocessor Checks: */
#if ((BOARD == BOARD_XPLAIN) || (BOARD == BOARD_XPLAIN_REV1))
@@ -141,5 +142,10 @@
uint8_t XPROGTarget_ReceiveByte(void);
void XPROGTarget_SendBreak(void);
bool XPROGTarget_WaitWhileNVMBusBusy(void);
+
+ #if defined(INCLUDE_FROM_XPROGTARGET_C)
+ static void XPROGTarget_SetTxMode(void);
+ static void XPROGTarget_SetRxMode(void);
+ #endif
#endif