From b88f2489c1811788152786aff3427a6cf8e1037d Mon Sep 17 00:00:00 2001 From: Martin Brodbeck Date: Mon, 4 Mar 2024 12:36:27 +0100 Subject: [PATCH] remember colon --- src/tm1637.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tm1637.cpp b/src/tm1637.cpp index ea1198a..55a6205 100644 --- a/src/tm1637.cpp +++ b/src/tm1637.cpp @@ -56,7 +56,7 @@ void TM1637::setColon([[maybe_unused]] bool on) { static constexpr size_t CONTROL_DISPLAY = 0x80'00; - // is_colon = true; + m_isColon = on; if (on) m_currentSegments |= CONTROL_DISPLAY; @@ -147,4 +147,4 @@ void TM1637::displaySpeed(uint8_t speed) setColon(m_isColon); } send4Bytes(m_currentSegments); -} \ No newline at end of file +}