From 96a12cd12cb9294ba9a7ec5547af81b9c6575748 Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Mon, 15 Feb 2010 13:40:53 +0000 Subject: 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. --- Projects/TemperatureDataLogger/Lib/DS1307.c | 5 ----- Projects/TemperatureDataLogger/Lib/DS1307.h | 2 -- 2 files changed, 7 deletions(-) (limited to 'Projects/TemperatureDataLogger/Lib') diff --git a/Projects/TemperatureDataLogger/Lib/DS1307.c b/Projects/TemperatureDataLogger/Lib/DS1307.c index 37817e97f..64e03df0d 100644 --- a/Projects/TemperatureDataLogger/Lib/DS1307.c +++ b/Projects/TemperatureDataLogger/Lib/DS1307.c @@ -7,11 +7,6 @@ #include "DS1307.h" -void DS1307_Init(void) -{ - // Nothing to initialize -} - void DS1307_SetDate(uint8_t Day, uint8_t Month, uint8_t Year) { #if defined(DUMMY_RTC) diff --git a/Projects/TemperatureDataLogger/Lib/DS1307.h b/Projects/TemperatureDataLogger/Lib/DS1307.h index 491836079..90b91e3e8 100644 --- a/Projects/TemperatureDataLogger/Lib/DS1307.h +++ b/Projects/TemperatureDataLogger/Lib/DS1307.h @@ -100,8 +100,6 @@ #define DS1307_ADDRESS_WRITE 0b11010000 /* Function Prototypes: */ - void DS1307_Init(void); - void DS1307_SetDate(uint8_t Day, uint8_t Month, uint8_t Year); void DS1307_SetTime(uint8_t Hour, uint8_t Minute, uint8_t Second); -- cgit v1.2.3