aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers/USB/Core/AVR8/Host_AVR8.c
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2011-04-08 05:05:05 +0000
committerDean Camera <dean@fourwalledcubicle.com>2011-04-08 05:05:05 +0000
commitde9bd767dc8578a45a195fb1e37dd4ff26ae9567 (patch)
tree6fceed835501d02bdb8a0449fb8e7e035329e39b /LUFA/Drivers/USB/Core/AVR8/Host_AVR8.c
parent70284d390f524e84e0539ad1e869366aaf94cf24 (diff)
downloadlufa-de9bd767dc8578a45a195fb1e37dd4ff26ae9567.tar.gz
lufa-de9bd767dc8578a45a195fb1e37dd4ff26ae9567.tar.bz2
lufa-de9bd767dc8578a45a195fb1e37dd4ff26ae9567.zip
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.
Diffstat (limited to 'LUFA/Drivers/USB/Core/AVR8/Host_AVR8.c')
-rw-r--r--LUFA/Drivers/USB/Core/AVR8/Host_AVR8.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/LUFA/Drivers/USB/Core/AVR8/Host_AVR8.c b/LUFA/Drivers/USB/Core/AVR8/Host_AVR8.c
index 87dddd49d..6c45265d7 100644
--- a/LUFA/Drivers/USB/Core/AVR8/Host_AVR8.c
+++ b/LUFA/Drivers/USB/Core/AVR8/Host_AVR8.c
@@ -273,7 +273,7 @@ static void USB_Host_ResetDevice(void)
break;
}
- _delay_ms(1);
+ Delay_MS(1);
}
if (HSOFIEnabled)