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:
Dean Camera 2010-02-15 13:40:53 +00:00
parent 67cb070810
commit 96a12cd12c
6 changed files with 9 additions and 15 deletions

View file

@ -199,6 +199,7 @@ void SetupHardware(void)
Temperature_Init();
Dataflash_Init();
USB_Init();
TWI_Init();
/* 500ms logging interval timer configuration */
OCR1A = ((F_CPU / 1024) / 2);