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:
authorana_lazareva <n_lazareva@mail.ru>2018-04-04 18:06:17 +0300
committerana_lazareva <n_lazareva@mail.ru>2018-04-04 18:06:17 +0300
commitcbaa3d85283d6da35ab2b5551c28426ebe59c5e5 (patch)
tree761d6ea1722f6a3ff7dd668391f58c4f72555b0a
parent94a0a5d153a31734e46bd11edf2ee6dd8befc392 (diff)
MISC: [cm3cpp_timer] get_counter_value32() removed because it's useless
-rw-r--r--cm3cpp_timer.cpp5
-rw-r--r--cm3cpp_timer.h1
2 files changed, 0 insertions, 6 deletions
diff --git a/cm3cpp_timer.cpp b/cm3cpp_timer.cpp
index 95ac204..a8d28ec 100644
--- a/cm3cpp_timer.cpp
+++ b/cm3cpp_timer.cpp
@@ -1641,11 +1641,6 @@ uint16_t Timer::get_counter_value()
return TIM_CNT(_timer);
}
-uint32_t Timer::get_counter_value32()
-{
- return TIM_CNT(_timer);
-}
-
//9,12
void Timer::set_counter_value(uint16_t value)
{
diff --git a/cm3cpp_timer.h b/cm3cpp_timer.h
index 11f4873..bfc6f06 100644
--- a/cm3cpp_timer.h
+++ b/cm3cpp_timer.h
@@ -314,7 +314,6 @@ public:
Result set_capture_compare_4_com_polarity(Polarity polarity);
//CNT//////////////////////////////////////////////////////
uint16_t get_counter_value();
- uint32_t get_counter_value32();
void set_counter_value(uint16_t value);
//PSC//////////////////////////////////////////////////////
uint16_t get_prescaler_value();