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.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ports/esp32/main.c b/ports/esp32/main.c
index c1b8e8a31..66068ccff 100644
--- a/ports/esp32/main.c
+++ b/ports/esp32/main.c
@@ -138,7 +138,9 @@ soft_reset:
// initialise peripherals
machine_pins_init();
+ #if MICROPY_PY_MACHINE_I2S
machine_i2s_init0();
+ #endif
// run boot-up scripts
pyexec_frozen_module("_boot.py");