Some ESP32 patches (#16297)

This commit is contained in:
Luc authored and Scott Lahteine committed 2019-12-22 16:11:17 -06:00
1 parent f4196d394b
commit 24eaf2d7e0
5 files changed
+11 -9

No files matched your search

+7 -5
View File
@@ -25,14 +25,16 @@
#include <Stream.h>
#ifndef RX_BUFFER_SIZE
#define RX_BUFFER_SIZE 128
#endif
#ifndef TX_BUFFER_SIZE
#define TX_BUFFER_SIZE 32
#endif
#if TX_BUFFER_SIZE <= 0
#error "TX_BUFFER_SIZE is required for the WebSocket."
#if ENABLED(WIFISUPPORT)
#ifndef RX_BUFFER_SIZE
#define RX_BUFFER_SIZE 128
#endif
#if TX_BUFFER_SIZE <= 0
#error "TX_BUFFER_SIZE is required for the WebSocket."
#endif
#endif
typedef uint16_t ring_buffer_pos_t;