aboutsummaryrefslogtreecommitdiffstats
path: root/CAN-binder/low-can-binding
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-06-01 15:57:29 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2017-06-01 18:40:13 +0200
commitf112d3368e1c06fc4b3246e5b9ff56e247722b79 (patch)
treea0225489774591028463a28354857f1885d8e48e /CAN-binder/low-can-binding
parent5bb0cc7268f47575b46baa1d7590f2727e8e193d (diff)
Format
Change-Id: Ibbd48a1c0fe0e7567cbf3f5f1c6919e542883924 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'CAN-binder/low-can-binding')
-rw-r--r--CAN-binder/low-can-binding/utils/timer.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/CAN-binder/low-can-binding/utils/timer.cpp b/CAN-binder/low-can-binding/utils/timer.cpp
index eb79f853..70f0856e 100644
--- a/CAN-binder/low-can-binding/utils/timer.cpp
+++ b/CAN-binder/low-can-binding/utils/timer.cpp
@@ -68,6 +68,7 @@ frequency_clock_t::frequency_clock_t(float frequency, uint64_t last_tick, time_f
if(frequency_ <= 0)
frequency_ = 1;
}
+
/// @brief Return the period in ms given the frequency in hertz.
/// @param[in] frequency - Frequency to convert, in hertz
float frequency_clock_t::frequency_to_period() const