remember colon
This commit is contained in:
parent
295ce2ae73
commit
b88f2489c1
1 changed files with 2 additions and 2 deletions
|
@ -56,7 +56,7 @@ void TM1637::setColon([[maybe_unused]] bool on)
|
||||||
{
|
{
|
||||||
static constexpr size_t CONTROL_DISPLAY = 0x80'00;
|
static constexpr size_t CONTROL_DISPLAY = 0x80'00;
|
||||||
|
|
||||||
// is_colon = true;
|
m_isColon = on;
|
||||||
|
|
||||||
if (on)
|
if (on)
|
||||||
m_currentSegments |= CONTROL_DISPLAY;
|
m_currentSegments |= CONTROL_DISPLAY;
|
||||||
|
@ -147,4 +147,4 @@ void TM1637::displaySpeed(uint8_t speed)
|
||||||
setColon(m_isColon);
|
setColon(m_isColon);
|
||||||
}
|
}
|
||||||
send4Bytes(m_currentSegments);
|
send4Bytes(m_currentSegments);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue