Extend ESP32 HardwareSerial with flushTX. (#13588)

This commit is contained in:
Kajetan Rzepecki authored and Scott Lahteine committed 2019-04-05 19:04:02 -05:00
1 parent 3c47e1b4d1
commit 27693cec29
3 files changed
+71 -1

No files matched your search

+2 -1
View File
@@ -48,6 +48,7 @@
#include "HAL_timers_ESP32.h"
#include "WebSocketSerial.h"
#include "FlushableHardwareSerial.h"
// --------------------------------------------------------------------------
// Defines
@@ -55,7 +56,7 @@
extern portMUX_TYPE spinlock;
#define MYSERIAL0 Serial
#define MYSERIAL0 flushableSerial
#if ENABLED(WIFISUPPORT)
#define NUM_SERIAL 2