mirror of
https://github.com/meshtastic/firmware.git
synced 2025-12-23 11:10:52 +00:00
fix packet queue full (#6292)
This commit is contained in:
@@ -89,6 +89,7 @@ bool PacketAPI::receivePacket(void)
|
||||
|
||||
bool PacketAPI::sendPacket(void)
|
||||
{
|
||||
if (server->available()) {
|
||||
// fill dummy buffer; we don't use it, we directly send the fromRadio structure
|
||||
uint32_t len = getFromRadio(txBuf);
|
||||
if (len != 0) {
|
||||
@@ -99,7 +100,8 @@ bool PacketAPI::sendPacket(void)
|
||||
LOG_ERROR("send queue full");
|
||||
}
|
||||
return result;
|
||||
} else
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user