Extend ESP32 HardwareSerial with flushTX. (#13588)
This commit is contained in:
1 parent
3c47e1b4d1
commit
27693cec29
3 files changed
+71
-1
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user