mirror of
https://github.com/okalachev/flix.git
synced 2026-01-11 21:46:55 +00:00
Cleanups
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user