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:
authorLisin Dmitriy <d.lisin@thirdpin.ru>2019-10-22 12:56:13 +0300
committerLisin Dmitriy <d.lisin@thirdpin.ru>2019-10-22 12:56:13 +0300
commit345b927efbac55fad12770999e7f659998e4e69c (patch)
tree76760a9a916897ec1556a64f0a8ff550332b501d
parente8ffdb5760d39d2dd926c57b49c39941d5c3379b (diff)
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
};