We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e7d1d7c commit dde4c11Copy full SHA for dde4c11
ESP32/ESP32.h
@@ -34,10 +34,10 @@
34
#include "rtos/Mutex.h"
35
#include "rtos/ThisThread.h"
36
37
-#if (MBED_MAJOR_VERSION >= 6)
38
-#include "drivers/BufferedSerial.h"
39
-#else
+#if (MBED_MAJOR_VERSION < 6)
40
#include "drivers/UARTSerial.h"
+#else
+#include "drivers/BufferedSerial.h"
41
#endif
42
43
#ifndef ESP32_CONNECT_TIMEOUT
@@ -275,10 +275,10 @@ class ESP32
275
mbed::DigitalOut * _p_wifi_io0;
276
bool _init_end_common;
277
bool _init_end_wifi;
278
279
- mbed::BufferedSerial _serial;
280
281
mbed::UARTSerial _serial;
+ mbed::BufferedSerial _serial;
282
283
mbed::ATCmdParser _parser;
284
struct packet {
0 commit comments