Skip to content
Snippets Groups Projects
Commit c606554d authored by Beat Küng's avatar Beat Küng Committed by Julian Oes
Browse files

PreflightCheck.cpp: use __PX4_POSIX_RPI instead of __LINUX for RPI

parent cf5338df
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment