Add ESP32 WiFi interface (#11209)
This commit is contained in:
committed by
Scott Lahteine
parent
c03df89921
commit
0278ad0a6d
@ -47,14 +47,17 @@
|
||||
|
||||
#include "HAL_timers_ESP32.h"
|
||||
|
||||
#include "WebSocketSerial.h"
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
// Defines
|
||||
// --------------------------------------------------------------------------
|
||||
|
||||
extern portMUX_TYPE spinlock;
|
||||
|
||||
#define NUM_SERIAL 1
|
||||
#define NUM_SERIAL 2
|
||||
#define MYSERIAL0 Serial
|
||||
#define MYSERIAL1 webSocketSerial
|
||||
|
||||
#define CRITICAL_SECTION_START portENTER_CRITICAL(&spinlock)
|
||||
#define CRITICAL_SECTION_END portEXIT_CRITICAL(&spinlock)
|
||||
|
Reference in New Issue
Block a user