Code Review
/
apps
/
agl-service-can-low-level.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
5bb0cc7
)
Format
author
Romain Forlot
<romain.forlot@iot.bzh>
Thu, 1 Jun 2017 13:57:29 +0000
(15:57 +0200)
committer
Romain Forlot
<romain.forlot@iot.bzh>
Thu, 1 Jun 2017 16:40:13 +0000
(18:40 +0200)
Change-Id: Ibbd48a1c0fe0e7567cbf3f5f1c6919e542883924
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
CAN-binder/low-can-binding/utils/timer.cpp
patch
|
blob
|
history
diff --git
a/CAN-binder/low-can-binding/utils/timer.cpp
b/CAN-binder/low-can-binding/utils/timer.cpp
index
eb79f85
..
70f0856
100644
(file)
--- 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