Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/thirdpin/libopencm3_cpp_extensions.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvanOrfanidi <i.orfanidi@thirdpin.io>2019-06-19 12:14:29 +0300
committerIvanOrfanidi <i.orfanidi@thirdpin.io>2019-06-19 12:14:29 +0300
commit71aafee02c998dcaf74fd6b2d246a99b9693404c (patch)
tree9ec5872cf5c17fe0dd8d0560ba24dd1c3463c5bf
parent2164b06213bdb248cb04f9dd6b76b893b1ff2efb (diff)
Removed intermediate check of DMA flags
-rw-r--r--cm3cpp/dma.cpp2
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