More cleanups

This commit is contained in:
Oleg Kalachev
2023-05-26 16:46:22 +03:00
parent 88cc792287
commit f84d1e95dd
5 changed files with 18 additions and 47 deletions

View File

@@ -18,8 +18,8 @@ void readRC()
{
bool failSafe, lostFrame;
if (RC.read(channels, &failSafe, &lostFrame)) {
if (failSafe) { rcFailSafe++; return; } // TODO: NOT TESTED YET
if (lostFrame) { rcLostFrame++; return; }
if (failSafe) { return; } // TODO:
if (lostFrame) { return; }
normalizeRC();
}
}