mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-25 16:31:42 +00:00
Ensure TOD isn't firing from power-on.
This commit is contained in:
parent
e402e690b0
commit
1f9e41e9cb
@ -121,7 +121,7 @@ template <> class TODStorage<true>: public TODBase {
|
|||||||
uint32_t increment_mask_ = uint32_t(~0);
|
uint32_t increment_mask_ = uint32_t(~0);
|
||||||
uint32_t latch_ = 0;
|
uint32_t latch_ = 0;
|
||||||
uint32_t value_ = 0;
|
uint32_t value_ = 0;
|
||||||
uint32_t alarm_ = 0;
|
uint32_t alarm_ = 0xffffff;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
template <int byte> void write(uint8_t v) {
|
template <int byte> void write(uint8_t v) {
|
||||||
|
Loading…
Reference in New Issue
Block a user