Added ifndef to allow overriding of default defines.

This commit is contained in:
skarg
2010-09-23 14:25:23 +00:00
parent 8098100483
commit d84243914b
2 changed files with 6 additions and 0 deletions
@@ -49,8 +49,12 @@
/*#define SEEPROM_PAGE_SIZE 64 */
/*#define SEEPROM_WORD_ADDRESS_16BIT 1 */
/* SEEPROM is 24C16 */
#ifndef SEEPROM_PAGE_SIZE
#define SEEPROM_PAGE_SIZE 16
#endif
#ifndef SEEPROM_WORD_ADDRESS_16BIT
#define SEEPROM_WORD_ADDRESS_16BIT 0
#endif
#define SEEPROM_I2C_ADDRESS 0xA0
#define SEEPROM_I2C_CLOCK 400000L
@@ -33,7 +33,9 @@ static uint8_t Address_Switch;
static uint8_t Buttons;
static struct itimer Debounce_Timer;
#ifndef BDK_V1_HACK
#define BDK_V1_HACK 0
#endif
#if BDK_V1_HACK
/* version 1 BDK workaournd for floating inputs */