Get rid of the redundant ATTR_NEVER_INLINE macro which translated to the same as...
[pub/USBasp.git] / Projects / AVRISP-MKII / Config / AppConfig.h
index 0f625fa..bd5ab93 100644 (file)
@@ -1,13 +1,13 @@
 /*
              LUFA Library
-     Copyright (C) Dean Camera, 2012.
+     Copyright (C) Dean Camera, 2013.
 
   dean [at] fourwalledcubicle [dot] com
            www.lufa-lib.org
 */
 
 /*
-  Copyright 2012  Dean Camera (dean [at] fourwalledcubicle [dot] com)
+  Copyright 2013  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
  *
  *  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.
  */
 
        #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