X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/ecd82778cf9a53e34f13d9ce6dcd7e1a4cf76b70..1645c3d243e57134228d36c23687c2ab664c3f9c:/Projects/AVRISP/AVRISP.h diff --git a/Projects/AVRISP/AVRISP.h b/Projects/AVRISP/AVRISP.h index e52c1a66b..a0f4d5e79 100644 --- a/Projects/AVRISP/AVRISP.h +++ b/Projects/AVRISP/AVRISP.h @@ -46,9 +46,12 @@ #include #include - #include - #include - + #include + + #if defined(ADC) + #include + #endif + #include "Lib/V2Protocol.h" /* Macros: */ @@ -62,15 +65,17 @@ #define LEDMASK_USB_READY (LEDS_LED2 | LEDS_LED4) /** LED mask for the library LED driver, to indicate that an error has occurred in the USB interface. */ - #define LEDMASK_USB_ERROR (LEDS_LED1 | LEDS_LED3) + #define LEDMASK_USB_ERROR (LEDS_LED1 | LEDS_LED3) + + /** LED mask for the library LED driver, to indicate that the USB interface is busy. */ + #define LEDMASK_BUSY (LEDS_LED1 | LEDS_LED2) /* Function Prototypes: */ void SetupHardware(void); void EVENT_USB_Device_Connect(void); void EVENT_USB_Device_Disconnect(void); - void EVENT_USB_Device_ConfigurationChanged(void); - void EVENT_USB_Device_UnhandledControlRequest(void); + void EVENT_USB_Device_ConfigurationChanged(void); void Process_AVRISP_Commands(void);