We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3a4ec66 commit 25dff4fCopy full SHA for 25dff4f
libraries/BluetoothSerial/src/BluetoothSerial.cpp
@@ -27,6 +27,11 @@
27
#include "esp_gap_bt_api.h"
28
#include "esp_bt_device.h"
29
#include "esp_spp_api.h"
30
+#include <esp_log.h>
31
+
32
+#ifdef ARDUINO_ARCH_ESP32
33
+#include "esp32-hal-log.h"
34
+#endif
35
36
#define SPP_SERVER_NAME "ESP32_SPP_SERVER"
37
#define SPP_TAG "BluetoothSerial"
@@ -208,8 +213,8 @@ int BluetoothSerial::read(void)
208
213
if (xQueueReceive(SerialQueueBT, &c, 0)){
209
214
return c;
210
215
}
211
- return 0;
212
216
217
+ return 0;
218
219
220
size_t BluetoothSerial::write(uint8_t c)
0 commit comments