mirror of
https://github.com/liquidraver/ZephCore.git
synced 2026-09-06 10:33:49 +00:00
get rid of housekeeping tick and AGC reset
This commit is contained in:
@@ -113,7 +113,6 @@ struct PacketQueue {
|
||||
static Packet _packet_pool[POOL_SIZE];
|
||||
static PacketQueue _unused;
|
||||
static PacketQueue _send_queue;
|
||||
static PacketQueue _rx_queue;
|
||||
static bool _initialized = false;
|
||||
|
||||
static void init_pool() {
|
||||
@@ -202,18 +201,4 @@ uint8_t StaticPoolPacketManager::peekNextOutboundPriority(uint32_t now) const
|
||||
return _send_queue.peekPriority(now);
|
||||
}
|
||||
|
||||
void StaticPoolPacketManager::queueInbound(Packet *packet, uint32_t scheduled_for)
|
||||
{
|
||||
if (!_rx_queue.add(packet, 0, scheduled_for)) {
|
||||
LOG_WRN("queueInbound: FULL (%d entries) — dropping type=%d",
|
||||
_rx_queue.count(), packet->getPayloadType());
|
||||
free(packet);
|
||||
}
|
||||
}
|
||||
|
||||
Packet *StaticPoolPacketManager::getNextInbound(uint32_t now)
|
||||
{
|
||||
return _rx_queue.get(now);
|
||||
}
|
||||
|
||||
} /* namespace mesh */
|
||||
|
||||
Reference in New Issue
Block a user