|
@@ -80,9 +80,9 @@ void NodeIO::async_send_commands()
|
|
commands_deque_lock.lock();
|
|
commands_deque_lock.lock();
|
|
assert(!commands_inflight.empty() &&
|
|
assert(!commands_inflight.empty() &&
|
|
&(commands_inflight.front()) == commandp);
|
|
&(commands_inflight.front()) == commandp);
|
|
|
|
+ bytes_sent = bytes_sent + 5 + std::get<2>(*commandp);
|
|
uint8_t *data = std::get<1>(*commandp);
|
|
uint8_t *data = std::get<1>(*commandp);
|
|
commands_inflight.pop_front();
|
|
commands_inflight.pop_front();
|
|
- bytes_sent = bytes_sent + 5 + std::get<2>(*commandp);
|
|
|
|
if (commands_inflight.size() > 0) {
|
|
if (commands_inflight.size() > 0) {
|
|
async_send_commands();
|
|
async_send_commands();
|
|
}
|
|
}
|