summaryrefslogtreecommitdiffstats
path: root/ds1307.c
diff options
context:
space:
mode:
Diffstat (limited to 'ds1307.c')
-rw-r--r--ds1307.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/ds1307.c b/ds1307.c
index 6f1df2c..0a87efe 100644
--- a/ds1307.c
+++ b/ds1307.c
@@ -65,7 +65,6 @@ uint8_t ds1307_halt(uint8_t halted)
uint8_t ds1307_getDateTime(struct datetime* dt)
{
- unsigned char c;
ds1307_init_read(0x00);
//omit CH bit
dt->second = BCD2DEC(i2c_readAck() & ~(1 << DS1307_BIT_CH));