mavlink: don't use the file logging on Snapdragon

This commit is contained in:
Julian Oes 2016-03-22 20:19:14 +01:00
parent c1d112e860
commit d3f710dbb5
1 changed files with 2 additions and 2 deletions

View File

@ -403,7 +403,7 @@ protected:
// TODO: the logging doesn't work on Snapdragon yet because of file paths.
#ifndef __PX4_QURT
#ifdef __PX4_POSIX_EAGLE
/* write log messages in first instance to disk */
if (_mavlink->get_instance_id() == 0) {
if (fp) {
@ -448,10 +448,10 @@ protected:
}
}
}
#endif
}
}
}
#endif
};
class MavlinkStreamCommandLong : public MavlinkStream