mirror of
https://github.com/okalachev/flix.git
synced 2025-08-17 17:16:10 +00:00
Correctly set output parameters of simulated SBUS::read, minor name fix
This commit is contained in:
@@ -18,9 +18,9 @@ void setupRC() {
|
||||
}
|
||||
|
||||
void readRC() {
|
||||
bool failSafe, lostFrame;
|
||||
if (RC.read(channels, &failSafe, &lostFrame)) {
|
||||
if (failSafe) { return; } // TODO:
|
||||
bool failsafe, lostFrame;
|
||||
if (RC.read(channels, &failsafe, &lostFrame)) {
|
||||
if (failsafe) { return; } // TODO:
|
||||
if (lostFrame) { return; }
|
||||
normalizeRC();
|
||||
}
|
||||
|
Reference in New Issue
Block a user