diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2013-07-20 10:38:25 +0200 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2013-07-20 10:38:25 +0200 |
commit | 15828b1d5f754fb9b6f06565159973a059584795 (patch) | |
tree | 0e4fa272b313cc54051a84cd93e4d62afeb935c3 /Projects/TempDataLogger | |
parent | b4af3f1fc9513d9f89df71c334862d5101807334 (diff) | |
download | lufa-15828b1d5f754fb9b6f06565159973a059584795.tar.gz lufa-15828b1d5f754fb9b6f06565159973a059584795.tar.bz2 lufa-15828b1d5f754fb9b6f06565159973a059584795.zip |
Rename DS1307 driver files to a more generic RTC, as different RTC drivers may be added in the future.
Diffstat (limited to 'Projects/TempDataLogger')
-rw-r--r-- | Projects/TempDataLogger/Lib/RTC.c (renamed from Projects/TempDataLogger/Lib/DS1307.c) | 2 | ||||
-rw-r--r-- | Projects/TempDataLogger/Lib/RTC.h (renamed from Projects/TempDataLogger/Lib/DS1307.h) | 0 | ||||
-rw-r--r-- | Projects/TempDataLogger/TempDataLogger.h | 2 | ||||
-rw-r--r-- | Projects/TempDataLogger/asf.xml | 7 | ||||
-rw-r--r-- | Projects/TempDataLogger/makefile | 2 |
5 files changed, 5 insertions, 8 deletions
diff --git a/Projects/TempDataLogger/Lib/DS1307.c b/Projects/TempDataLogger/Lib/RTC.c index d3ee95a77..00c8baf9b 100644 --- a/Projects/TempDataLogger/Lib/DS1307.c +++ b/Projects/TempDataLogger/Lib/RTC.c @@ -5,7 +5,7 @@ www.lufa-lib.org */ -#include "DS1307.h" +#include "RTC.h" #if defined(DUMMY_RTC) diff --git a/Projects/TempDataLogger/Lib/DS1307.h b/Projects/TempDataLogger/Lib/RTC.h index 2e20dbf33..2e20dbf33 100644 --- a/Projects/TempDataLogger/Lib/DS1307.h +++ b/Projects/TempDataLogger/Lib/RTC.h diff --git a/Projects/TempDataLogger/TempDataLogger.h b/Projects/TempDataLogger/TempDataLogger.h index 86364f4e3..4fcc1bc86 100644 --- a/Projects/TempDataLogger/TempDataLogger.h +++ b/Projects/TempDataLogger/TempDataLogger.h @@ -48,7 +48,7 @@ #include "Lib/SCSI.h" #include "Lib/DataflashManager.h" #include "Lib/FATFs/ff.h" - #include "Lib/DS1307.h" + #include "Lib/RTC.h" #include "Config/AppConfig.h" #include <LUFA/Drivers/Board/LEDs.h> diff --git a/Projects/TempDataLogger/asf.xml b/Projects/TempDataLogger/asf.xml index 8efbbb5f0..93ae7cf14 100644 --- a/Projects/TempDataLogger/asf.xml +++ b/Projects/TempDataLogger/asf.xml @@ -38,14 +38,11 @@ <build type="c-source" value="Lib/DataflashManager.c"/>
<build type="header-file" value="Lib/DataflashManager.h"/>
- <build type="c-source" value="Lib/DS1307.c"/>
- <build type="header-file" value="Lib/DS1307.h"/>
+ <build type="c-source" value="Lib/RTC.c"/>
+ <build type="header-file" value="Lib/RTC.h"/>
<build type="c-source" value="Lib/SCSI.c"/>
<build type="header-file" value="Lib/SCSI.h"/>
- <build type="c-source" value="Lib/DS1307.c"/>
- <build type="header-file" value="Lib/DS1307.h"/>
-
<build type="include-path" value="Lib/FATFs/"/>
<build type="c-source" value="Lib/FATFs/ff.c"/>
<build type="header-file" value="Lib/FATFs/ff.h"/>
diff --git a/Projects/TempDataLogger/makefile b/Projects/TempDataLogger/makefile index 3b97ce226..216d1cdd5 100644 --- a/Projects/TempDataLogger/makefile +++ b/Projects/TempDataLogger/makefile @@ -18,7 +18,7 @@ F_CPU = 8000000 F_USB = $(F_CPU) OPTIMIZATION = s TARGET = TempDataLogger -SRC = $(TARGET).c Descriptors.c Lib/DataflashManager.c Lib/DS1307.c Lib/SCSI.c Lib/FATFs/diskio.c Lib/FATFs/ff.c \ +SRC = $(TARGET).c Descriptors.c Lib/DataflashManager.c Lib/RTC.c Lib/SCSI.c Lib/FATFs/diskio.c Lib/FATFs/ff.c \ $(LUFA_SRC_USB) $(LUFA_SRC_USBCLASS) $(LUFA_SRC_SERIAL) $(LUFA_SRC_TWI) $(LUFA_SRC_TEMPERATURE) LUFA_PATH = ../../LUFA CC_FLAGS = -DUSE_LUFA_CONFIG_HEADER -IConfig/ |