forked from Archive/PX4-Autopilot
commander: enable partial preflight checks on RPI
Signed-off-by: Nicolae Rosia <nicolae.rosia@gmail.com>
This commit is contained in:
parent
6201fb5641
commit
a0ee07e357
|
@ -561,8 +561,13 @@ bool preflightCheck(orb_advert_t *mavlink_log_pub, bool checkMag, bool checkAcc,
|
|||
PX4_WARN("Preflight checks always pass on Snapdragon.");
|
||||
return true;
|
||||
#elif defined(__PX4_POSIX_RPI)
|
||||
PX4_WARN("Preflight checks always pass on RPI.");
|
||||
return true;
|
||||
if (reportFailures) {
|
||||
PX4_WARN("Preflight checks for mag, acc, gyro always pass on RPI");
|
||||
}
|
||||
|
||||
checkMag = false;
|
||||
checkAcc = false;
|
||||
checkGyro = false;
|
||||
#elif defined(__PX4_POSIX_BEBOP)
|
||||
PX4_WARN("Preflight checks always pass on Bebop.");
|
||||
return true;
|
||||
|
|
Loading…
Reference in New Issue