Add ESP32 WiFi interface (#11209)
This commit is contained in:
1 parent
c03df89921
commit
0278ad0a6d
93 files changed
+915
-22
No files matched your search
@@ -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