diff --git a/src/modules/commander/commander.cpp b/src/modules/commander/commander.cpp index d47b45d89f..eba0705ab5 100644 --- a/src/modules/commander/commander.cpp +++ b/src/modules/commander/commander.cpp @@ -933,7 +933,7 @@ int commander_thread_main(int argc, char *argv[]) mavlink_and_console_log_critical(mavlink_fd, "ERROR: BATTERY INIT FAIL"); } - mavlink_fd = open(MAVLINK_LOG_DEVICE, 0); + mavlink_fd = px4_open(MAVLINK_LOG_DEVICE, 0); /* vehicle status topic */ memset(&status, 0, sizeof(status));