summaryrefslogtreecommitdiff
path: root/py/scope.h
diff options
context:
space:
mode:
authorAngus Gratton <angus@redyak.com.au>2024-07-25 12:19:11 +1000
committerDamien George <damien@micropython.org>2024-08-02 10:30:14 +1000
commit0d00d72b76092dc62d194e5cbda8a1b00a4c3ff7 (patch)
treecc1052049bdce2a5197764b1011b925d378696c8 /py/scope.h
parent9ba04cc7563ec934ca14d66aa18ae3563c8d1aea (diff)
esp32/machine_i2s: Ensure 2 DMA buffers and improve I2S error handling.
ESP-IDF driver always requires at least two DMA buffers, so ensure that's the case. Failures during initialisation were being lost because ESP_ERROR_CHECK is configured as a no-op, so the failure was deferred until read() or write() was called on the port. Raise an error from init, instead. This work was funded through GitHub Sponsors. Signed-off-by: Angus Gratton <angus@redyak.com.au>
Diffstat (limited to 'py/scope.h')
0 files changed, 0 insertions, 0 deletions