Cleanups for Teensy support.

This commit is contained in:
Jonathan Naylor 2016-11-01 20:30:18 +00:00
parent 2cb7d37195
commit 423af323ed
3 changed files with 7 additions and 83 deletions

4
IO.cpp
View file

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