diff options
| author | Dean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28> | 2009-12-29 05:18:16 +0000 |
|---|---|---|
| committer | Dean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28> | 2009-12-29 05:18:16 +0000 |
| commit | 0db126294ad69c698cfc250a8d1e9a19b33bc977 (patch) | |
| tree | d891077e6d8fb3a2b5515ce45255e7bea4dece6f /Projects/AVRISP-MKII/Lib/ISP/ISPTarget.c | |
| parent | bb0f545b85300e85936d0fd7dcfba6580d115dc8 (diff) | |
Change the AVRISP project's RESET LINE makefile tokens to AUX LINE, as it is not always used for target reset.
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1025 d5102386-fcda-11dd-9fdb-3debd5008f28
Diffstat (limited to 'Projects/AVRISP-MKII/Lib/ISP/ISPTarget.c')
| -rw-r--r-- | Projects/AVRISP-MKII/Lib/ISP/ISPTarget.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Projects/AVRISP-MKII/Lib/ISP/ISPTarget.c b/Projects/AVRISP-MKII/Lib/ISP/ISPTarget.c index ebaf2f3e..1bd68870 100644 --- a/Projects/AVRISP-MKII/Lib/ISP/ISPTarget.c +++ b/Projects/AVRISP-MKII/Lib/ISP/ISPTarget.c @@ -84,15 +84,15 @@ void ISPTarget_ChangeTargetResetLine(const bool ResetTarget) {
if (ResetTarget)
{
- RESET_LINE_DDR |= RESET_LINE_MASK;
+ AUX_LINE_DDR |= AUX_LINE_MASK;
if (!(V2Params_GetParameterValue(PARAM_RESET_POLARITY)))
- RESET_LINE_PORT |= RESET_LINE_MASK;
+ AUX_LINE_PORT |= AUX_LINE_MASK;
}
else
{
- RESET_LINE_DDR &= ~RESET_LINE_MASK;
- RESET_LINE_PORT &= ~RESET_LINE_MASK;
+ AUX_LINE_DDR &= ~AUX_LINE_MASK;
+ AUX_LINE_PORT &= ~AUX_LINE_MASK;
}
}
@@ -144,7 +144,7 @@ uint8_t ISPTarget_WaitForProgComplete(const uint8_t ProgrammingMode, const uint1 }
/** Waits until the target has completed the last operation, by continuously polling the device's
- * BUSY flag until it is cleared, or until the \ref TARGET_BUSY_TIMEOUT_MS timeout period has expired.
+ * BUSY flag until it is cleared, or until the command timeout period has expired.
*
* \return V2 Protocol status \ref STATUS_CMD_OK if the no timeout occurred, \ref STATUS_RDY_BSY_TOUT otherwise
*/
|
