summaryrefslogtreecommitdiff
path: root/ports/esp32/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'ports/esp32/main.c')
-rw-r--r--ports/esp32/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ports/esp32/main.c b/ports/esp32/main.c
index 4a9c0060b..b514f44e0 100644
--- a/ports/esp32/main.c
+++ b/ports/esp32/main.c
@@ -60,7 +60,7 @@
#include "extmod/modbluetooth.h"
#endif
-#if MICROPY_ESPNOW
+#if MICROPY_PY_ESPNOW
#include "modespnow.h"
#endif
@@ -152,7 +152,7 @@ soft_reset_exit:
mp_bluetooth_deinit();
#endif
- #if MICROPY_ESPNOW
+ #if MICROPY_PY_ESPNOW
espnow_deinit(mp_const_none);
MP_STATE_PORT(espnow_singleton) = NULL;
#endif