aboutsummaryrefslogtreecommitdiff
path: root/Bootloaders/DFU/BootloaderDFU.c
diff options
context:
space:
mode:
authorDean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28>2012-01-15 14:07:14 +0000
committerDean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28>2012-01-15 14:07:14 +0000
commit2f5bfe92e9017ef3afbc6025febbda482cf8f55d (patch)
tree61a1f5b0c81e24277890d184e4aa9d1005c3fd70 /Bootloaders/DFU/BootloaderDFU.c
parent8fe8bf573bd0ef5487f6bca540d86fcabe945796 (diff)
Minor bootloader tweaks; make some functions static where possible to reduce the compiled binary size, add additional comments to the makefiles.
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@2010 d5102386-fcda-11dd-9fdb-3debd5008f28
Diffstat (limited to 'Bootloaders/DFU/BootloaderDFU.c')
-rw-r--r--Bootloaders/DFU/BootloaderDFU.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Bootloaders/DFU/BootloaderDFU.c b/Bootloaders/DFU/BootloaderDFU.c
index 09480192..ba045856 100644
--- a/Bootloaders/DFU/BootloaderDFU.c
+++ b/Bootloaders/DFU/BootloaderDFU.c
@@ -137,7 +137,7 @@ int main(void)
}
/** Configures all hardware required for the bootloader. */
-void SetupHardware(void)
+static void SetupHardware(void)
{
/* Disable watchdog if enabled by bootloader/fuses */
MCUSR &= ~(1 << WDRF);
@@ -160,7 +160,7 @@ void SetupHardware(void)
}
/** Resets all configured hardware required for the bootloader back to their original states. */
-void ResetHardware(void)
+static void ResetHardware(void)
{
/* Shut down the USB subsystem */
USB_Disable();