diff options
author | Phil Howard <phil@gadgetoid.com> | 2024-08-02 14:16:57 +0100 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2024-08-07 12:01:34 +1000 |
commit | d2e33fe3096eec60d7017b0f17c4ddb6910a4d0b (patch) | |
tree | 7158f86f9d2440374561ba9795a2910f132123f8 /py/modmath.c | |
parent | ad3552ae2cb5be65a8d61dc1c3bb2014d7ef4cae (diff) | |
download | micropython-d2e33fe3096eec60d7017b0f17c4ddb6910a4d0b.tar.gz micropython-d2e33fe3096eec60d7017b0f17c4ddb6910a4d0b.zip |
rp2/machine_i2s: Deinit all active I2S instances on soft reset.
Add `machine_i2s_deinit_all` to teardown any active I2S instances on soft
reset. Prior to this fix, code using I2S required a try/finally in order
to avoid a hard fault on soft reset.
Fixes issue #14339.
Signed-off-by: Phil Howard <phil@gadgetoid.com>
Diffstat (limited to 'py/modmath.c')
0 files changed, 0 insertions, 0 deletions