remember colon

This commit is contained in:
Martin Brodbeck 2024-03-04 12:36:27 +01:00
parent 295ce2ae73
commit b88f2489c1
1 changed files with 2 additions and 2 deletions

View File

@ -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);
}
}