Code Review
/
apps
/
low-level-can-service.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Format
[apps/low-level-can-service.git]
/
CAN-binder
/
low-can-binding
/
utils
/
timer.cpp
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