diff options
author | IvanOrfanidi <i.orfanidi@thirdpin.io> | 2019-06-19 12:14:29 +0300 |
---|---|---|
committer | IvanOrfanidi <i.orfanidi@thirdpin.io> | 2019-06-19 12:14:29 +0300 |
commit | 71aafee02c998dcaf74fd6b2d246a99b9693404c (patch) | |
tree | 9ec5872cf5c17fe0dd8d0560ba24dd1c3463c5bf | |
parent | 2164b06213bdb248cb04f9dd6b76b893b1ff2efb (diff) |
Removed intermediate check of DMA flags
-rw-r--r-- | cm3cpp/dma.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cm3cpp/dma.cpp b/cm3cpp/dma.cpp index 6e89b2a..ed06cce 100644 --- a/cm3cpp/dma.cpp +++ b/cm3cpp/dma.cpp @@ -75,7 +75,7 @@ Dma::Dma(const LowLevelConfig& config) : void Dma::set_memory_address(uint32_t address) const { - dma_set_memory_address(_dma_num, _stream, address); + DMA_SM0AR(_dma_num, _stream) = (uint32_t*)address; } void Dma::set_data_counter(uint16_t len) const |