This commit is contained in:
Yuri Trikoz
2020-06-24 02:11:08 +03:00
parent f9933ea55e
commit cc3c17dfb2
3 changed files with 10 additions and 0 deletions

View File

@@ -250,6 +250,12 @@ void switch_() {
but[switch_number.toInt()] = true;
}
void loopSerial() {
if (term) {
term->loop();
}
}
void loopButton() {
static uint8_t switch_number = 1;