NucleoTNC/TNC/HdlcFrame.cpp

21 wiersze
403 B
C++
Czysty Zwykły widok Historia

2018-07-30 02:34:53 +00:00
// Copyright 2015 Mobilinkd LLC <rob@mobilinkd.com>
// All rights reserved.
#include "HdlcFrame.hpp"
namespace mobilinkd { namespace tnc { namespace hdlc {
FrameSegmentPool frameSegmentPool __attribute__((section(".bss2")));
IoFramePool& ioFramePool() {
static IoFramePool pool;
return pool;
}
void release(IoFrame* frame)
{
ioFramePool().release(frame);
}
}}} // mobilinkd::tnc::hdlc