aboutsummaryrefslogtreecommitdiffstats
path: root/Projects
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2011-01-30 23:12:06 +0000
committerDean Camera <dean@fourwalledcubicle.com>2011-01-30 23:12:06 +0000
commit43b9d552bb0a32c5cd5f9fa72a8cb3c871ad5ef3 (patch)
tree3eec94c1a0d57fb84c0678d10f1012d234e532a7 /Projects
parent9051d3beb0c5c4ec1e33749d8f806f5492fbe742 (diff)
downloadlufa-43b9d552bb0a32c5cd5f9fa72a8cb3c871ad5ef3.tar.gz
lufa-43b9d552bb0a32c5cd5f9fa72a8cb3c871ad5ef3.tar.bz2
lufa-43b9d552bb0a32c5cd5f9fa72a8cb3c871ad5ef3.zip
Renamed all driver termination *_ShutDown() functions to the more logical name *_Disable().
Diffstat (limited to 'Projects')
-rw-r--r--Projects/AVRISP-MKII/Lib/ISP/ISPTarget.c2
-rw-r--r--Projects/MissileLauncher/MissileLauncher.c2
-rw-r--r--Projects/Webserver/USBHostMode.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/Projects/AVRISP-MKII/Lib/ISP/ISPTarget.c b/Projects/AVRISP-MKII/Lib/ISP/ISPTarget.c
index 88b33fc65..7e8695503 100644
--- a/Projects/AVRISP-MKII/Lib/ISP/ISPTarget.c
+++ b/Projects/AVRISP-MKII/Lib/ISP/ISPTarget.c
@@ -172,7 +172,7 @@ void ISPTarget_DisableTargetISP(void)
{
if (HardwareSPIMode)
{
- SPI_ShutDown();
+ SPI_Disable();
}
else
{
diff --git a/Projects/MissileLauncher/MissileLauncher.c b/Projects/MissileLauncher/MissileLauncher.c
index f00c19f1d..b085ed54a 100644
--- a/Projects/MissileLauncher/MissileLauncher.c
+++ b/Projects/MissileLauncher/MissileLauncher.c
@@ -204,7 +204,7 @@ void EVENT_USB_Host_DeviceEnumerationComplete(void)
/** Event handler for the USB_HostError event. This indicates that a hardware error occurred while in host mode. */
void EVENT_USB_Host_HostError(const uint8_t ErrorCode)
{
- USB_ShutDown();
+ USB_Disable();
LEDs_SetAllLEDs(LEDMASK_USB_ERROR);
for(;;);
diff --git a/Projects/Webserver/USBHostMode.c b/Projects/Webserver/USBHostMode.c
index a33892238..941ebba8d 100644
--- a/Projects/Webserver/USBHostMode.c
+++ b/Projects/Webserver/USBHostMode.c
@@ -163,7 +163,7 @@ void EVENT_USB_Host_DeviceEnumerationComplete(void)
/** Event handler for the USB_HostError event. This indicates that a hardware error occurred while in host mode. */
void EVENT_USB_Host_HostError(const uint8_t ErrorCode)
{
- USB_ShutDown();
+ USB_Disable();
LEDs_SetAllLEDs(LEDMASK_USB_ERROR);
for(;;);