mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-25 07:13:35 +08:00
logger: subscribe to mavlink_log messages and write them to the log
This commit is contained in:
@@ -164,6 +164,13 @@ private:
|
||||
*/
|
||||
bool write_wait(void *ptr, size_t size);
|
||||
|
||||
/**
|
||||
* Write data to the logger and handle dropouts.
|
||||
* Must be called with _writer.lock() held.
|
||||
* @return true if data written, false otherwise (on overflow)
|
||||
*/
|
||||
bool write(void *ptr, size_t size);
|
||||
|
||||
/**
|
||||
* Get the time for log file name
|
||||
* @param tt returned time
|
||||
|
||||
Reference in New Issue
Block a user