Don't cast the line encoding baud rate to a uint16_t before performing the baud rate...
[pub/USBasp.git] / Bootloaders / CDC / BootloaderCDC.h
index dcb60e0..8142211 100644 (file)
@@ -1,13 +1,13 @@
 /*\r
              LUFA Library\r
 /*\r
              LUFA Library\r
-     Copyright (C) Dean Camera, 2009.\r
+     Copyright (C) Dean Camera, 2010.\r
               \r
   dean [at] fourwalledcubicle [dot] com\r
       www.fourwalledcubicle.com\r
 */\r
 \r
 /*\r
               \r
   dean [at] fourwalledcubicle [dot] com\r
       www.fourwalledcubicle.com\r
 */\r
 \r
 /*\r
-  Copyright 2009  Dean Camera (dean [at] fourwalledcubicle [dot] com)\r
+  Copyright 2010  Dean Camera (dean [at] fourwalledcubicle [dot] com)\r
 \r
   Permission to use, copy, modify, distribute, and sell this \r
   software and its documentation for any purpose is hereby granted\r
 \r
   Permission to use, copy, modify, distribute, and sell this \r
   software and its documentation for any purpose is hereby granted\r
@@ -42,6 +42,7 @@
                #include <avr/boot.h>\r
                #include <avr/eeprom.h>\r
                #include <avr/power.h>\r
                #include <avr/boot.h>\r
                #include <avr/eeprom.h>\r
                #include <avr/power.h>\r
+               #include <avr/interrupt.h>\r
                #include <stdbool.h>\r
 \r
                #include "Descriptors.h"\r
                #include <stdbool.h>\r
 \r
                #include "Descriptors.h"\r
        /* Function Prototypes: */\r
                void CDC_Task(void);\r
                void SetupHardware(void);\r
        /* Function Prototypes: */\r
                void CDC_Task(void);\r
                void SetupHardware(void);\r
-               void ResetHardware(void);\r
 \r
                void EVENT_USB_Device_ConfigurationChanged(void);\r
                void EVENT_USB_Device_UnhandledControlRequest(void);\r
 \r
                void EVENT_USB_Device_ConfigurationChanged(void);\r
                void EVENT_USB_Device_UnhandledControlRequest(void);\r