diff options
Diffstat (limited to 'config-check.h')
-rw-r--r-- | config-check.h | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/config-check.h b/config-check.h index 077d391..e33e1ad 100644 --- a/config-check.h +++ b/config-check.h @@ -19,6 +19,11 @@ #endif /* + * 20150725: Initial version + * 20150808: Changed values of DEBUG_SINK. + */ + +/* * * Configuration Section. * @@ -36,7 +41,6 @@ * 1: prototype-a, the hand assembled PCB * 2: prototype-b, the china produced PCB * 3: attiny85 - * 4: OLIMEXINO-32U4 * * No default, has to be specified in config.h */ @@ -100,15 +104,14 @@ * Selects where all debug logging will go. * * Values: - * 1: no logging, all logging is discarded - * 2: Use Serial. Uses the platforms default Serial port, usually the USB or hardware serial ports on your board. - * - * TODO: Change this to 0=no logging, 1=serial, 2=software serial + * 0: no logging, all logging is discarded + * 1: Use Serial. Uses the platforms default Serial port, usually the USB or hardware serial ports on your board. + * 2: Use Software serial */ #ifndef DEBUG_SINK // Default to Serial -#define DEBUG_SINK 2 +#define DEBUG_SINK 1 #endif /******************************************************************************* @@ -127,8 +130,8 @@ #undef USE_LOW_POWER_MODE #endif -#if DEBUG_SINK == 2 -#warning DEBUG_SINK must be 1 on ATTiny85 boards +#if DEBUG_SINK != 0 && DEBUG_SINK != 2 +#warning DEBUG_SINK must be 0 or 2 on ATTiny85 boards #undef DEBUG_SINK #define DEBUG_SINK 1 #endif |