diff options
Diffstat (limited to 'Projects/TempDataLogger/Lib/DS1307.h')
-rw-r--r-- | Projects/TempDataLogger/Lib/DS1307.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/Projects/TempDataLogger/Lib/DS1307.h b/Projects/TempDataLogger/Lib/DS1307.h index 6269bb235..5181c3e87 100644 --- a/Projects/TempDataLogger/Lib/DS1307.h +++ b/Projects/TempDataLogger/Lib/DS1307.h @@ -111,12 +111,11 @@ } DS1307_DateTimeRegs_t; /* Macros: */ - #define DS1307_ADDRESS_READ (0xD0 | TWI_ADDRESS_READ) - #define DS1307_ADDRESS_WRITE (0xD0 | TWI_ADDRESS_WRITE) + #define DS1307_ADDRESS 0xD0 /* Function Prototypes: */ - void DS1307_SetTimeDate(const TimeDate_t* NewTimeDate); - void DS1307_GetTimeDate(TimeDate_t* const TimeDate); + bool DS1307_SetTimeDate(const TimeDate_t* NewTimeDate); + bool DS1307_GetTimeDate(TimeDate_t* const TimeDate); #endif |