public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c055b9b
)
Kernel: Bug fix ds1302 driver, leave clk line low after reading.
author
Will Sowerbutts
<will@sowerbutts.com>
Thu, 1 Jan 2015 14:33:16 +0000
(14:33 +0000)
committer
Will Sowerbutts
<will@sowerbutts.com>
Thu, 1 Jan 2015 14:50:05 +0000
(14:50 +0000)
Kernel/dev/ds1302.c
patch
|
blob
|
history
diff --git
a/Kernel/dev/ds1302.c
b/Kernel/dev/ds1302.c
index
065b080
..
56188ce
100644
(file)
--- a/
Kernel/dev/ds1302.c
+++ b/
Kernel/dev/ds1302.c
@@
-70,6
+70,7
@@
void ds1302_read_clock(uint8_t *buffer, uint8_t length)
#endif
}
ds1302_set_pin_ce(false);
+ ds1302_set_pin_clk(false);
irqrestore(irq);
}