Browse Source

call px4_open instead of open

sbg
tumbili 10 years ago
parent
commit
dd9e3cd315
  1. 2
      src/modules/commander/commander.cpp

2
src/modules/commander/commander.cpp

@ -933,7 +933,7 @@ int commander_thread_main(int argc, char *argv[]) @@ -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));

Loading…
Cancel
Save