mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-22 09:28:58 +00:00
PreflightCheck.cpp: use __PX4_POSIX_RPI instead of __LINUX for RPI
This commit is contained in:
@@ -391,8 +391,8 @@ bool preflightCheck(orb_advert_t *mavlink_log_pub, bool checkMag, bool checkAcc,
|
||||
// all the sensors are supported
|
||||
PX4_WARN("Preflight checks always pass on Snapdragon.");
|
||||
return true;
|
||||
#elif defined(__LINUX)
|
||||
PX4_WARN("Preflight checks always pass on Linux (RPI).");
|
||||
#elif defined(__PX4_POSIX_RPI)
|
||||
PX4_WARN("Preflight checks always pass on RPI.");
|
||||
return true;
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user