memory size debugging

This commit is contained in:
geeksville
2020-06-16 19:55:14 -07:00
parent a47524b762
commit 03f019dea2
3 changed files with 19 additions and 4 deletions

View File

@@ -34,7 +34,12 @@ Allocator<MeshPacket> &packetPool = staticPool;
*
* Currently we only allow one interface, that may change in the future
*/
Router::Router() : fromRadioQueue(MAX_RX_FROMRADIO) {}
Router::Router() : fromRadioQueue(MAX_RX_FROMRADIO)
{
DEBUG_MSG("Size of NodeInfo %d\n", sizeof(NodeInfo));
DEBUG_MSG("Size of SubPacket %d\n", sizeof(SubPacket));
DEBUG_MSG("Size of MeshPacket %d\n", sizeof(MeshPacket));
}
/**
* do idle processing