1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-12-26 09:29:45 +00:00

Ensure TOD isn't firing from power-on.

This commit is contained in:
Thomas Harte 2021-08-08 18:51:58 -04:00
parent e402e690b0
commit 1f9e41e9cb

View File

@ -121,7 +121,7 @@ template <> class TODStorage<true>: public TODBase {
uint32_t increment_mask_ = uint32_t(~0);
uint32_t latch_ = 0;
uint32_t value_ = 0;
uint32_t alarm_ = 0;
uint32_t alarm_ = 0xffffff;
public:
template <int byte> void write(uint8_t v) {