mirror of
https://github.com/g4klx/MMDVM.git
synced 2026-04-05 14:37:02 +00:00
Cleanups for Teensy support.
This commit is contained in:
parent
2cb7d37195
commit
423af323ed
3 changed files with 7 additions and 83 deletions
4
IO.cpp
4
IO.cpp
|
|
@ -115,13 +115,13 @@ void CIO::process()
|
|||
if (m_ledCount >= 24000U) {
|
||||
m_ledCount = 0U;
|
||||
m_ledValue = !m_ledValue;
|
||||
digitalWrite(PIN_LED, m_ledValue ? HIGH : LOW);
|
||||
setLEDInt(m_ledValue);
|
||||
}
|
||||
} else {
|
||||
if (m_ledCount >= 240000U) {
|
||||
m_ledCount = 0U;
|
||||
m_ledValue = !m_ledValue;
|
||||
digitalWrite(PIN_LED, m_ledValue ? HIGH : LOW);
|
||||
setLEDInt(m_ledValue);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue