summaryrefslogtreecommitdiff
path: root/ports/esp32/machine_i2s.c
diff options
context:
space:
mode:
Diffstat (limited to 'ports/esp32/machine_i2s.c')
-rw-r--r--ports/esp32/machine_i2s.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ports/esp32/machine_i2s.c b/ports/esp32/machine_i2s.c
index ba6377a76..27b70f1c8 100644
--- a/ports/esp32/machine_i2s.c
+++ b/ports/esp32/machine_i2s.c
@@ -470,4 +470,4 @@ static void mp_machine_i2s_irq_update(machine_i2s_obj_t *self) {
}
}
-MP_REGISTER_ROOT_POINTER(struct _machine_i2s_obj_t *machine_i2s_obj[I2S_NUM_AUTO]);
+MP_REGISTER_ROOT_POINTER(struct _machine_i2s_obj_t *machine_i2s_obj[SOC_I2S_NUM]);