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:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user