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:
authorThird Pin <redmine.thirdpin@gmail.com>2019-10-23 17:45:25 +0300
committerGitHub <noreply@github.com>2019-10-23 17:45:25 +0300
commitac710c13cc1e38174ab53d965289ee8d4bfedc2e (patch)
tree76760a9a916897ec1556a64f0a8ff550332b501d
parente8ffdb5760d39d2dd926c57b49c39941d5c3379b (diff)
parent345b927efbac55fad12770999e7f659998e4e69c (diff)
Merge pull request #10 from thirdpin/hotfix/dma_wrong_init_order
FIX: [dma] Wrong order of initialization
-rw-r--r--cm3cpp/dma.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cm3cpp/dma.hpp b/cm3cpp/dma.hpp
index a55981b..b513782 100644
--- a/cm3cpp/dma.hpp
+++ b/cm3cpp/dma.hpp
@@ -145,8 +145,8 @@ class Dma
Dma& operator=(Dma&&) = delete; /// Operator move is delete
private:
- Stream _stream; ///< Shows the stream on which DMA is configured
DmaNumber _dma_num; ///< Number configured DMA
+ Stream _stream; ///< Shows the stream on which DMA is configured
uint8_t _irq; ///< Interrupt number
};