diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2009-05-26 04:46:35 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2009-05-26 04:46:35 +0000 |
commit | 7eb4eb7cdd1ba6a9a6e1ae82968294445667f2e0 (patch) | |
tree | 146270bd13607692dd55f85ab8a5a668c5a433d1 /Bootloaders/DFU/BootloaderDFU.c | |
parent | b7ef7f49c9f6b4de962ae32776866bd1d5d59c3b (diff) | |
download | lufa-7eb4eb7cdd1ba6a9a6e1ae82968294445667f2e0.tar.gz lufa-7eb4eb7cdd1ba6a9a6e1ae82968294445667f2e0.tar.bz2 lufa-7eb4eb7cdd1ba6a9a6e1ae82968294445667f2e0.zip |
Fix all device mode demos broken in the recent API changes.
Change USBtoSerial Tx to polling-driven rather than interrupt driven, to ensure more time for the Rx interrupt to be serviced.
Diffstat (limited to 'Bootloaders/DFU/BootloaderDFU.c')
-rw-r--r-- | Bootloaders/DFU/BootloaderDFU.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Bootloaders/DFU/BootloaderDFU.c b/Bootloaders/DFU/BootloaderDFU.c index 10a30167b..11177c5a6 100644 --- a/Bootloaders/DFU/BootloaderDFU.c +++ b/Bootloaders/DFU/BootloaderDFU.c @@ -139,7 +139,7 @@ int main (void) /** Event handler for the USB_Disconnect event. This indicates that the bootloader should exit and the user
* application started.
*/
-void EventHandler_USB_Disconnect(void)
+void EVENT_USB_Disconnect(void)
{
/* Upon disconnection, run user application */
RunBootloader = false;
@@ -149,7 +149,7 @@ void EventHandler_USB_Disconnect(void) * control requests that are not handled internally by the USB library (including the DFU commands, which are
* all issued via the control endpoint), so that they can be handled appropriately for the application.
*/
-void EventHandler_USB_UnhandledControlPacket(void)
+void EVENT_USB_UnhandledControlPacket(void)
{
/* Get the size of the command and data from the wLength value */
SentCommand.DataSize = USB_ControlRequest.wLength;
|