Merge pull request #2442 from tumbili/status_text_fix

Status text fix
This commit is contained in:
Lorenz Meier 2015-06-22 10:13:45 +02:00
commit f01913a2bc
1 changed files with 5 additions and 1 deletions

View File

@ -1528,7 +1528,11 @@ Mavlink::task_main(int argc, char *argv[])
#ifdef __PX4_NUTTX
register_driver(MAVLINK_LOG_DEVICE, &fops, 0666, NULL);
#else
register_driver(MAVLINK_LOG_DEVICE, NULL);
int ret;
ret = VDev::init();
if (ret != OK) {
PX4_WARN("VDev setup for mavlink log device failed!\n");
}
#endif
/* initialize logging device */