1
0
mirror of https://github.com/thooge/esp32-nmea2000-obp60.git synced 2025-12-13 05:53:06 +01:00

add some memory diagnostics

This commit is contained in:
andreas
2021-10-30 12:01:50 +02:00
parent 56aaf595b4
commit e7b2c6e756
14 changed files with 54 additions and 20 deletions

View File

@@ -8,6 +8,7 @@ void GwBuffer::lp(const char *fkt, int p)
GwBuffer::GwBuffer(GwLog *logger,size_t bufferSize)
{
LOG_DEBUG(GwLog::DEBUG,"creating new buffer %p of size %d",this,(int)bufferSize);
this->logger = logger;
this->bufferSize=bufferSize;
this->buffer=new uint8_t[bufferSize];