mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-11 07:23:35 +08:00
Added accessors for static transfer buffer template
This commit is contained in:
@@ -201,6 +201,9 @@ public:
|
||||
}
|
||||
|
||||
uint8_t* getRawPtr() { return data_; }
|
||||
const uint8_t* getRawPtr() const { return data_; }
|
||||
|
||||
unsigned int getMaxWritePos() const { return max_write_pos_; }
|
||||
void setMaxWritePos(unsigned int value) { max_write_pos_ = value; }
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user