use common buffer

This commit is contained in:
technyon
2023-03-22 23:15:38 +01:00
parent 04ebf17b1a
commit 8e6b464563
5 changed files with 8 additions and 11 deletions

View File

@@ -129,7 +129,7 @@ private:
long _rssiPublishInterval = 0;
char* _buffer;
size_t _bufferSize;
const size_t _bufferSize;
std::function<void()> _keepAliveCallback = nullptr;
std::vector<std::function<void()>> _reconnectedCallbacks;