mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-21 03:03:34 +08:00
POSIX: fixes for use of open vs px4_open, etc
Fixes for the posix build when virtual devices are used. Signed-off-by: Mark Charlebois <charlebm@gmail.com>
This commit is contained in:
committed by
Lorenz Meier
parent
af4cc8ec91
commit
28dd9759a6
@@ -148,7 +148,7 @@ int position_estimator_inav_main(int argc, char *argv[])
|
||||
|
||||
inav_verbose_mode = false;
|
||||
|
||||
if (argc > 2 && !strcmp(argv[2], "-v")) {
|
||||
if ((argc > 2) && (!strcmp(argv[2], "-v"))) {
|
||||
inav_verbose_mode = true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user