Various fixes for ESP32 (#14102)

This commit is contained in:
felixstorm
2019-05-26 00:06:00 +02:00
committed by Scott Lahteine
parent e1bf34bdc9
commit bc5a1fe562
10 changed files with 99 additions and 49 deletions

View File

@@ -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; }