This commit is contained in:
Oleg Kalachev
2023-05-25 11:42:13 +03:00
parent 7b81cfbe90
commit 147eef0af7
3 changed files with 1 additions and 6 deletions

View File

@@ -14,8 +14,6 @@ void setupRC()
RC.begin();
}
static uint32_t lastReadRC = 0;
void readRC()
{
bool failSafe, lostFrame;
@@ -23,7 +21,6 @@ void readRC()
if (failSafe) { rcFailSafe++; return; } // TODO: NOT TESTED YET
if (lostFrame) { rcLostFrame++; return; }
normalizeRC();
lastReadRC = stepTime;
}
}