diff options
author | Anastasiia Lazareva <n_lazareva@mail.ru> | 2017-08-08 18:52:57 +0300 |
---|---|---|
committer | Anastasiia Lazareva <n_lazareva@mail.ru> | 2017-08-08 18:52:57 +0300 |
commit | 81c1e0cc7a8e23f1b786c486d626a3d150ffa2bd (patch) | |
tree | 10e79e30baff4d8740d3154272f7be839cca2c4c | |
parent | f4693d80b28cb0cf09e96e6b013df0febfc120e4 (diff) |
FIX: [usart_rb] wrong type of args in constructor
-rw-r--r-- | cm3cpp_i2c.h | 2 | ||||
-rw-r--r-- | cm3cpp_usart_rb.cpp | 3 | ||||
-rw-r--r-- | cm3cpp_usart_rb.h | 3 |
3 files changed, 3 insertions, 5 deletions
diff --git a/cm3cpp_i2c.h b/cm3cpp_i2c.h index dc81e3c..19f9897 100644 --- a/cm3cpp_i2c.h +++ b/cm3cpp_i2c.h @@ -35,7 +35,7 @@ I2C C++ Wrapper of libopencm3 library for STM32F2, STM32F4 #ifndef FREERTOS #include "systick_ext.h" #else -#include <timers/I2cTimer.h> +#include <timers/I2cTimer.hpp> #endif namespace cm3cpp { diff --git a/cm3cpp_usart_rb.cpp b/cm3cpp_usart_rb.cpp index 6e06d4a..b7270d7 100644 --- a/cm3cpp_usart_rb.cpp +++ b/cm3cpp_usart_rb.cpp @@ -30,8 +30,7 @@ namespace cm3cpp { namespace usart { UsartRb::UsartRb(LowLevelConfig config, Settings settings, - utils::RoundBuffer rb_in_size, - utils::RoundBuffer rb_out_size) + uint32_t rb_in_size, uint32_t rb_out_size) : Usart(config, settings) { rb_in = new utils::RoundBuffer(rb_in_size); diff --git a/cm3cpp_usart_rb.h b/cm3cpp_usart_rb.h index 974f64c..57eeef0 100644 --- a/cm3cpp_usart_rb.h +++ b/cm3cpp_usart_rb.h @@ -43,8 +43,7 @@ public: utils::RoundBuffer *rb_out; UsartRb(LowLevelConfig config, Settings settings, - utils::RoundBuffer rb_in_size, - utils::RoundBuffer rb_out_size); + uint32_t rb_in_size, uint32_t rb_out_size); CM3CPP_EXPLISIT_DESTRUCTOR(UsartRb) |