From 2f5bfe92e9017ef3afbc6025febbda482cf8f55d Mon Sep 17 00:00:00 2001 From: Dean Date: Sun, 15 Jan 2012 14:07:14 +0000 Subject: 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 --- Bootloaders/DFU/BootloaderDFU.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Bootloaders/DFU/BootloaderDFU.c') 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(); -- cgit v1.2.3