mirror of
https://github.com/odriverobotics/ODrive.git
synced 2026-09-23 17:13:47 +08:00
fix CI errors
This commit is contained in:
@@ -143,6 +143,7 @@ private:
|
||||
transfer_handle_ = 0;
|
||||
|
||||
auto& [slot_in_use, slot_buf, slot_completer] = slots_[active_slot_ - 1];
|
||||
(void) slot_buf;
|
||||
auto completer = slot_completer;
|
||||
slot_in_use = false;
|
||||
|
||||
@@ -152,6 +153,8 @@ private:
|
||||
size_t active_slot = 0;
|
||||
for (size_t i = 0; i < NSlots; ++i) {
|
||||
auto& [slot_in_use, slot_buf, slot_completer] = slots_[i];
|
||||
(void) slot_buf;
|
||||
(void) slot_completer;
|
||||
if (slot_in_use) {
|
||||
active_slot = i + 1;
|
||||
break;
|
||||
@@ -162,6 +165,8 @@ private:
|
||||
active_slot_ = active_slot;
|
||||
if (active_slot) {
|
||||
auto& [slot_in_use, slot_buf, slot_completer] = slots_[active_slot - 1];
|
||||
(void) slot_in_use;
|
||||
(void) slot_completer;
|
||||
sink_.start_write(slot_buf, &transfer_handle_, *this);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user