mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-06-25 07:20:35 +08:00
Added Frame::setIndex()
This commit is contained in:
@@ -155,6 +155,7 @@ public:
|
||||
bool isLast() const { return last_frame_; }
|
||||
|
||||
void makeLast() { last_frame_ = true; }
|
||||
void setIndex(uint_fast8_t index) { frame_index_ = index; }
|
||||
|
||||
bool isFirst() const { return frame_index_ == 0; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user