diff options
author | Nico <NicoHood@users.noreply.github.com> | 2015-02-24 13:31:32 +0100 |
---|---|---|
committer | Nico <NicoHood@users.noreply.github.com> | 2015-02-24 13:31:32 +0100 |
commit | e3988f19dda2345032f575f31f275693571d9267 (patch) | |
tree | 74959e56e37c1c3fe718eb4b53eba33f5fcace90 | |
parent | 31f4260705c0226818ca7302f5f6156e20a18d9e (diff) | |
download | lufa-e3988f19dda2345032f575f31f275693571d9267.tar.gz lufa-e3988f19dda2345032f575f31f275693571d9267.tar.bz2 lufa-e3988f19dda2345032f575f31f275693571d9267.zip |
Update BootloaderCDC.c
-rw-r--r-- | Bootloaders/CDC/BootloaderCDC.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Bootloaders/CDC/BootloaderCDC.c b/Bootloaders/CDC/BootloaderCDC.c index 63991de75..101140480 100644 --- a/Bootloaders/CDC/BootloaderCDC.c +++ b/Bootloaders/CDC/BootloaderCDC.c @@ -156,6 +156,9 @@ int main(void) CDC_Task(); USB_USBTask(); } + + /* Wait a short time to end all USB transactions and then disconnect */ + _delay_us(1000); /* Disconnect from the host - USB interface will be reset later along with the AVR */ USB_Detach(); |