forked from Archive/PX4-Autopilot
tunes: Print warning if there is a tune error
This commit is contained in:
parent
f6cda64f0d
commit
9e57c5d217
|
@ -396,6 +396,10 @@ Tunes::Status Tunes::tune_error()
|
|||
}
|
||||
|
||||
// The tune appears to be bad (unexpected EOF, bad character, etc.).
|
||||
if (_next_tune != nullptr) {
|
||||
PX4_WARN("Tune error at: %s", _next_tune);
|
||||
}
|
||||
|
||||
_repeat = false; // Don't loop on error.
|
||||
reset(_repeat);
|
||||
return Tunes::Status::Error;
|
||||
|
|
Loading…
Reference in New Issue