X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/de0df8b16259458c78c742b5dbedd4ac90856285..5cae54154506176d64a581c5b3d9550c901b570c:/Projects/AVRISP-MKII/Config/AppConfig.h?ds=sidebyside diff --git a/Projects/AVRISP-MKII/Config/AppConfig.h b/Projects/AVRISP-MKII/Config/AppConfig.h index e92fa9331..bd5ab93c2 100644 --- a/Projects/AVRISP-MKII/Config/AppConfig.h +++ b/Projects/AVRISP-MKII/Config/AppConfig.h @@ -33,10 +33,10 @@ * * This is a header file which is be used to configure some of * the application's compile time options, as an alternative to - * specifying the compile time constants supplied through a + * specifying the compile time constants supplied through a * makefile or build system. * - * For information on what each token does, refer to the + * For information on what each token does, refer to the * \ref Sec_Options section of the application documentation. */ @@ -46,7 +46,11 @@ #define AUX_LINE_PORT PORTB #define AUX_LINE_PIN PINB #define AUX_LINE_DDR DDRB - #define AUX_LINE_MASK (1 << 4) + #if (BOARD == BOARD_U2S) + #define AUX_LINE_MASK (1 << 0) + #else + #define AUX_LINE_MASK (1 << 4) + #endif #define ENABLE_ISP_PROTOCOL #define ENABLE_XPROG_PROTOCOL @@ -63,4 +67,4 @@ // #define RESET_TOGGLES_LIBUSB_COMPAT // #define FIRMWARE_VERSION_MINOR 0x11 -#endif \ No newline at end of file +#endif