X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/de0df8b16259458c78c742b5dbedd4ac90856285..3642ea0b9715cdf0196b10c9fc97898940eaefa6:/Projects/AVRISP-MKII/Config/AppConfig.h?ds=inline diff --git a/Projects/AVRISP-MKII/Config/AppConfig.h b/Projects/AVRISP-MKII/Config/AppConfig.h index e92fa9331..73fca3c99 100644 --- a/Projects/AVRISP-MKII/Config/AppConfig.h +++ b/Projects/AVRISP-MKII/Config/AppConfig.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2013. + Copyright (C) Dean Camera, 2015. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2013 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2015 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted @@ -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 @@ -59,8 +63,8 @@ // #define XCK_RESCUE_CLOCK_ENABLE // #define INVERTED_ISP_MISO -// #define LIBUSB_DRIVER_COMPAT + #define LIBUSB_DRIVER_COMPAT // #define RESET_TOGGLES_LIBUSB_COMPAT // #define FIRMWARE_VERSION_MINOR 0x11 -#endif \ No newline at end of file +#endif