From 15828b1d5f754fb9b6f06565159973a059584795 Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Sat, 20 Jul 2013 10:38:25 +0200 Subject: [PATCH] Rename DS1307 driver files to a more generic RTC, as different RTC drivers may be added in the future. --- Projects/TempDataLogger/Lib/{DS1307.c => RTC.c} | 2 +- Projects/TempDataLogger/Lib/{DS1307.h => RTC.h} | 0 Projects/TempDataLogger/TempDataLogger.h | 2 +- Projects/TempDataLogger/asf.xml | 7 ++----- Projects/TempDataLogger/makefile | 2 +- 5 files changed, 5 insertions(+), 8 deletions(-) rename Projects/TempDataLogger/Lib/{DS1307.c => RTC.c} (99%) rename Projects/TempDataLogger/Lib/{DS1307.h => RTC.h} (100%) diff --git a/Projects/TempDataLogger/Lib/DS1307.c b/Projects/TempDataLogger/Lib/RTC.c similarity index 99% rename from Projects/TempDataLogger/Lib/DS1307.c rename to Projects/TempDataLogger/Lib/RTC.c index d3ee95a776..00c8baf9b7 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 similarity index 100% rename from Projects/TempDataLogger/Lib/DS1307.h rename to Projects/TempDataLogger/Lib/RTC.h diff --git a/Projects/TempDataLogger/TempDataLogger.h b/Projects/TempDataLogger/TempDataLogger.h index 86364f4e31..4fcc1bc86a 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 diff --git a/Projects/TempDataLogger/asf.xml b/Projects/TempDataLogger/asf.xml index 8efbbb5f02..93ae7cf146 100644 --- a/Projects/TempDataLogger/asf.xml +++ b/Projects/TempDataLogger/asf.xml @@ -38,14 +38,11 @@ - - + + - - - diff --git a/Projects/TempDataLogger/makefile b/Projects/TempDataLogger/makefile index 3b97ce226a..216d1cdd52 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/