diff --git a/libuavcan/include/uavcan/internal/transport/transfer.hpp b/libuavcan/include/uavcan/internal/transport/transfer.hpp index 371376c9fe..29f7393f16 100644 --- a/libuavcan/include/uavcan/internal/transport/transfer.hpp +++ b/libuavcan/include/uavcan/internal/transport/transfer.hpp @@ -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; }