mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-18 06:57:34 +08:00
Added logbuffer free function
This commit is contained in:
@@ -107,7 +107,6 @@ struct mavlink_logmessage {
|
||||
|
||||
struct mavlink_logbuffer {
|
||||
unsigned int start;
|
||||
// unsigned int end;
|
||||
unsigned int size;
|
||||
int count;
|
||||
struct mavlink_logmessage *elems;
|
||||
@@ -115,6 +114,8 @@ struct mavlink_logbuffer {
|
||||
|
||||
void mavlink_logbuffer_init(struct mavlink_logbuffer *lb, int size);
|
||||
|
||||
void mavlink_logbuffer_destroy(struct mavlink_logbuffer *lb);
|
||||
|
||||
int mavlink_logbuffer_is_full(struct mavlink_logbuffer *lb);
|
||||
|
||||
int mavlink_logbuffer_is_empty(struct mavlink_logbuffer *lb);
|
||||
|
||||
Reference in New Issue
Block a user