X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/271be037b736d66a7b7e0c4d5d30c5a24025277f..1645c3d243e57134228d36c23687c2ab664c3f9c:/Projects/AVRISP/AVRISP.h diff --git a/Projects/AVRISP/AVRISP.h b/Projects/AVRISP/AVRISP.h index d37bf5320..a0f4d5e79 100644 --- a/Projects/AVRISP/AVRISP.h +++ b/Projects/AVRISP/AVRISP.h @@ -46,8 +46,12 @@ #include #include - #include - + #include + + #if defined(ADC) + #include + #endif + #include "Lib/V2Protocol.h" /* Macros: */ @@ -61,7 +65,10 @@ #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);