call px4_open instead of open

This commit is contained in:
tumbili 2015-06-22 09:40:45 +02:00
parent a94b2bc3b5
commit dd9e3cd315
1 changed files with 1 additions and 1 deletions

View File

@ -933,7 +933,7 @@ int commander_thread_main(int argc, char *argv[])
mavlink_and_console_log_critical(mavlink_fd, "ERROR: BATTERY INIT FAIL"); 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 */ /* vehicle status topic */
memset(&status, 0, sizeof(status)); memset(&status, 0, sizeof(status));