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:
Mark Charlebois
2015-07-01 23:51:12 +02:00
committed by Lorenz Meier
parent af4cc8ec91
commit 28dd9759a6
8 changed files with 94 additions and 95 deletions
@@ -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;
}