8000
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 41a9f1d commit bd746a4Copy full SHA for bd746a4
ports/esp32/main.c
@@ -58,6 +58,10 @@
58
#include "modnetwork.h"
59
#include "mpthreadport.h"
60
61
+#if MICROPY_BLUETOOTH_NIMBLE
62
+#include "extmod/modbluetooth.h"
63
+#endif
64
+
65
// MicroPython runs as a task under FreeRTOS
66
#define MP_TASK_PRIORITY (ESP_TASK_PRIO_MIN + 1)
67
#define MP_TASK_STACK_SIZE (16 * 1024)
@@ -136,6 +140,10 @@ void mp_task(void *pvParameter) {
136
140
}
137
141
138
142
143
+ #if MICROPY_BLUETOOTH_NIMBLE
144
+ mp_bluetooth_deinit();
145
+ #endif
146
139
147
machine_timer_deinit_all();
148
149
#if MICROPY_PY_THREAD
0 commit comments