mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
Added Frame::setIndex()
This commit is contained in:
parent
d330572e37
commit
c136d92b5d
@ -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; }
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user