projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
State information for class drivers is now zeroed out during enumeration (both in...
[pub/USBasp.git]
/
Bootloaders
/
TeensyHID
/
TeensyHID.c
diff --git
a/Bootloaders/TeensyHID/TeensyHID.c
b/Bootloaders/TeensyHID/TeensyHID.c
index
eed7097
..
67dded5
100644
(file)
--- a/
Bootloaders/TeensyHID/TeensyHID.c
+++ b/
Bootloaders/TeensyHID/TeensyHID.c
@@
-54,9
+54,6
@@
int main(void)
\r
while (RunBootloader)
\r
USB_USBTask();
\r
\r
while (RunBootloader)
\r
USB_USBTask();
\r
-
\r
- /* Reset all configured hardware to their default states for the user app */
\r
- ResetHardware();
\r
\r
/* Wait 100ms to give the host time to register the disconnection */
\r
_delay_ms(100);
\r
\r
/* Wait 100ms to give the host time to register the disconnection */
\r
_delay_ms(100);
\r
@@
-85,13
+82,6
@@
void SetupHardware(void)
USB_Init();
\r
}
\r
\r
USB_Init();
\r
}
\r
\r
-/** Resets all configured hardware required for the bootloader back to their original states. */
\r
-void ResetHardware(void)
\r
-{
\r
- /* Shut down the USB subsystem */
\r
- USB_ShutDown();
\r
-}
\r
-
\r
/** Event handler for the USB_ConfigurationChanged event. This configures the device's endpoints ready
\r
* to relay data to and from the attached USB host.
\r
*/
\r
/** Event handler for the USB_ConfigurationChanged event. This configures the device's endpoints ready
\r
* to relay data to and from the attached USB host.
\r
*/
\r