aboutsummaryrefslogtreecommitdiff
path: root/Projects/AVRISP-MKII/Lib
diff options
context:
space:
mode:
authorDean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28>2011-04-08 05:05:05 +0000
committerDean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28>2011-04-08 05:05:05 +0000
commit5f7811e9d902b03c6af11f2820cf11b9c0bac154 (patch)
tree6fceed835501d02bdb8a0449fb8e7e035329e39b /Projects/AVRISP-MKII/Lib
parent6d221c9c8267a84329271dfe5f04886978eb58a8 (diff)
Correct UC3 global interrupt functions.
Replace all calls and references to _delay_ms() in the code with the architecture-agnostic Delay_MS() function. Improve code generation for the Delay_MS() function on the AVR8 architecture when called with a constant input. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1730 d5102386-fcda-11dd-9fdb-3debd5008f28
Diffstat (limited to 'Projects/AVRISP-MKII/Lib')
-rw-r--r--Projects/AVRISP-MKII/Lib/ISP/ISPProtocol.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Projects/AVRISP-MKII/Lib/ISP/ISPProtocol.c b/Projects/AVRISP-MKII/Lib/ISP/ISPProtocol.c
index 421046b5..ccd31f3d 100644
--- a/Projects/AVRISP-MKII/Lib/ISP/ISPProtocol.c
+++ b/Projects/AVRISP-MKII/Lib/ISP/ISPProtocol.c
@@ -519,7 +519,7 @@ void ISPProtocol_SPIMulti(void)
void ISPProtocol_DelayMS(uint8_t DelayMS)
{
while (DelayMS-- && !(TimeoutExpired))
- _delay_ms(1);
+ Delay_MS(1);
}
#endif