Skip to content

Commit 0d29f96

Browse files
eso32: Update main.c.
Signed-off-by: Vincent1-python <pywei201209@163.com>
1 parent c01de20 commit 0d29f96

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ports/esp32/main.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
#include "modmachine.h"
6666
#include "modnetwork.h"
6767

68-
#if MICROPY_BLUETOOTH_NIMBLE
68+
#if MICROPY_PY_BLUETOOTH && MICROPY_BLUETOOTH_NIMBLE
6969
#include "extmod/modbluetooth.h"
7070
#endif
7171

@@ -172,7 +172,7 @@ void mp_task(void *pvParameter) {
172172

173173
soft_reset_exit:
174174

175-
#if MICROPY_BLUETOOTH_NIMBLE
175+
#if MICROPY_PY_BLUETOOTH && MICROPY_BLUETOOTH_NIMBLE
176176
mp_bluetooth_deinit();
177177
#endif
178178

0 commit comments

Comments
 (0)