Add missing TWI_Init() call to the TemperatureDataLogger project. Make DUMMY_RTC compile time option the default, so that it works correctly on the USBKEY and other Atmel boards out of the box.
This commit is contained in:
@@ -193,12 +193,8 @@ CSTANDARD = -std=gnu99
|
||||
|
||||
# Place -D or -U options here for C sources
|
||||
CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD) $(LUFA_OPTS)
|
||||
CDEFS += -DAVR_RESET_LINE_PORT="PORTD"
|
||||
CDEFS += -DAVR_RESET_LINE_DDR="DDRD"
|
||||
CDEFS += -DAVR_RESET_LINE_MASK="(1 << 4)"
|
||||
CDEFS += -DAVR_RESET_PULSE_MS=10
|
||||
CDEFS += -DTX_RX_LED_PULSE_MS=30
|
||||
CDEFS += -DPING_PONG_LED_PULSE_MS=100
|
||||
CDEFS += -DDUMMY_RTC
|
||||
|
||||
|
||||
# Place -D or -U options here for ASM sources
|
||||
ADEFS = -DF_CPU=$(F_CPU)
|
||||
|
||||
Reference in New Issue
Block a user