diff options
author | Damien George <damien.p.george@gmail.com> | 2016-11-11 17:24:18 +1100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2016-11-11 17:24:18 +1100 |
commit | e6da6a720fb2bb48c6885e5f28f5f917690080fd (patch) | |
tree | 993914e07dd6a365e8f4e524c561bb3459e903cc /tests/pyb/i2c_error.py | |
parent | 679c0c4c835371552fb0bc9b65a4893ceaaf7471 (diff) | |
download | micropython-e6da6a720fb2bb48c6885e5f28f5f917690080fd.tar.gz micropython-e6da6a720fb2bb48c6885e5f28f5f917690080fd.zip |
stmhal/dma: De-init the DMA peripheral properly before initialising.
The DMA state is always HAL_DMA_STATE_RESET because of the memset clearing
all the data, so prior to this patch HAL_DMA_DeInit was never called. Now
it is always called to make sure the DMA is properly reset.
Diffstat (limited to 'tests/pyb/i2c_error.py')
0 files changed, 0 insertions, 0 deletions