Various fixes for ESP32 (#14102)
This commit is contained in:
committed by
Scott Lahteine
parent
e1bf34bdc9
commit
bc5a1fe562
@@ -38,9 +38,9 @@ AsyncWebSocket ws("/ws"); // TODO Move inside the class.
|
||||
|
||||
RingBuffer::RingBuffer(ring_buffer_pos_t size)
|
||||
: data(new uint8_t[size]),
|
||||
size(size),
|
||||
read_index(0),
|
||||
write_index(0),
|
||||
size(size)
|
||||
write_index(0)
|
||||
{}
|
||||
|
||||
RingBuffer::~RingBuffer() { delete[] data; }
|
||||
|
||||
Reference in New Issue
Block a user