oops - can't call DEBUG_MSG this early on ESP32

1.2-legacy
geeksville 2020-06-17 16:04:37 -07:00
rodzic 5847f94ece
commit 463666aec5
1 zmienionych plików z 4 dodań i 2 usunięć

Wyświetl plik

@ -36,9 +36,11 @@ Allocator<MeshPacket> &packetPool = staticPool;
*/
Router::Router() : fromRadioQueue(MAX_RX_FROMRADIO)
{
DEBUG_MSG("Size of NodeInfo %d\n", sizeof(NodeInfo));
// This is called pre main(), don't touch anything here, the following code is not safe
/* 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));
DEBUG_MSG("Size of MeshPacket %d\n", sizeof(MeshPacket)); */
}
/**