Fix up the ADC driver for the U4 parts to remove a typo on one of the register names.
[pub/USBasp.git] / Projects / XPLAINBridge / XPLAINBridge.h
index 543a03e..877792d 100644 (file)
@@ -40,6 +40,7 @@
                #include <avr/io.h>\r
                #include <avr/wdt.h>\r
                #include <avr/power.h>\r
+               #include <avr/interrupt.h>\r
 \r
                #include "AVRISPDescriptors.h"\r
                #include "USARTDescriptors.h"\r
                /** LED mask for the library LED driver, to indicate that the USB interface is busy. */\r
                #define LEDMASK_BUSY             LEDS_LED1\r
 \r
+               /** Firmware mode define for the USART Bridge mode. */\r
                #define MODE_USART_BRIDGE        false\r
+\r
+               /** Firmware mode define for the AVRISP Programmer mode. */\r
                #define MODE_PDI_PROGRAMMER      true           \r
 \r
        /* External Variables: */\r
@@ -82,8 +86,8 @@
 \r
                void EVENT_USB_Device_ConfigurationChanged(void);\r
                void EVENT_USB_Device_UnhandledControlRequest(void);\r
-               \r
-               void EVENT_CDC_Device_LineEncodingChanged(USB_ClassInfo_CDC_Device_t* const CDCInterfaceInfo);\r
+               void EVENT_USB_Device_Connect(void);\r
+               void EVENT_USB_Device_Disconnect(void);         \r
 \r
                uint16_t CALLBACK_USB_GetDescriptor(const uint16_t wValue, const uint8_t wIndex, void** const DescriptorAddress);\r
 \r