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:
parent
67cb070810
commit
96a12cd12c
6 changed files with 9 additions and 15 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue