X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/30c2b620de700a34a91ddef0ae97f01ea6f116bd..62022252ea4d2763e15c1150367ca972bc4926bf:/Projects/AVRISP-MKII/AVRISP-MKII.h diff --git a/Projects/AVRISP-MKII/AVRISP-MKII.h b/Projects/AVRISP-MKII/AVRISP-MKII.h index 1018ebc3d..3491abf0c 100644 --- a/Projects/AVRISP-MKII/AVRISP-MKII.h +++ b/Projects/AVRISP-MKII/AVRISP-MKII.h @@ -42,8 +42,6 @@ #include #include - #include "Descriptors.h" - #include #include #include @@ -52,6 +50,7 @@ #include #endif + #include "Descriptors.h" #include "Lib/V2Protocol.h" /* Macros: */ @@ -59,16 +58,19 @@ #define LEDMASK_USB_NOTREADY LEDS_LED1 /** LED mask for the library LED driver, to indicate that the USB interface is enumerating. */ - #define LEDMASK_USB_ENUMERATING (LEDS_LED2 | LEDS_LED3) + #define LEDMASK_USB_ENUMERATING (LEDS_LED1 | LEDS_LED2) /** LED mask for the library LED driver, to indicate that the USB interface is ready. */ - #define LEDMASK_USB_READY (LEDS_LED2 | LEDS_LED4) + #define LEDMASK_USB_READY LEDS_LED2 /** 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 /** LED mask for the library LED driver, to indicate that the USB interface is busy. */ #define LEDMASK_BUSY (LEDS_LED1 | LEDS_LED2) + + /** LED mask for the library LED driver, to indicate that the target is being powered by VBUS. */ + #define LEDMASK_VBUSPOWER LEDS_LED3 /* Function Prototypes: */ void SetupHardware(void);