projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Pull out common options in the StaticAnalysisTest build test makefile into a seperate...
[pub/USBasp.git]
/
Bootloaders
/
DFU
/
BootloaderDFU.c
diff --git
a/Bootloaders/DFU/BootloaderDFU.c
b/Bootloaders/DFU/BootloaderDFU.c
index
ba04585
..
3ce2a62
100644
(file)
--- a/
Bootloaders/DFU/BootloaderDFU.c
+++ b/
Bootloaders/DFU/BootloaderDFU.c
@@
-1,13
+1,13
@@
/*
LUFA Library
/*
LUFA Library
- Copyright (C) Dean Camera, 201
1
.
+ Copyright (C) Dean Camera, 201
2
.
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
*/
/*
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
*/
/*
- Copyright 201
1
Dean Camera (dean [at] fourwalledcubicle [dot] com)
+ Copyright 201
2
Dean Camera (dean [at] fourwalledcubicle [dot] com)
Permission to use, copy, modify, distribute, and sell this
software and its documentation for any purpose is hereby granted
Permission to use, copy, modify, distribute, and sell this
software and its documentation for any purpose is hereby granted
@@
-150,7
+150,7
@@
static void SetupHardware(void)
MCUCR = (1 << IVCE);
MCUCR = (1 << IVSEL);
MCUCR = (1 << IVCE);
MCUCR = (1 << IVSEL);
- /* Initialize the USB
subsystem
*/
+ /* Initialize the USB
and other board hardware drivers
*/
USB_Init();
LEDs_Init();
USB_Init();
LEDs_Init();
@@
-162,8
+162,9
@@
static void SetupHardware(void)
/** Resets all configured hardware required for the bootloader back to their original states. */
static void ResetHardware(void)
{
/** Resets all configured hardware required for the bootloader back to their original states. */
static void ResetHardware(void)
{
- /* Shut down the USB
subsystem
*/
+ /* Shut down the USB
and other board hardware drivers
*/
USB_Disable();
USB_Disable();
+ LEDs_Disable();
/* Relocate the interrupt vector table back to the application section */
MCUCR = (1 << IVCE);
/* Relocate the interrupt vector table back to the application section */
MCUCR = (1 << IVCE);