diff options
author | Romain Forlot <romain.forlot@iot.bzh> | 2017-03-09 16:01:08 +0100 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2017-03-16 17:10:40 +0100 |
commit | 78daa605c5abd64054dad9f5fcfee638f8c515e0 (patch) | |
tree | 8b2eb222995f7197066b1a25a6038885d525198a /src/can/can-signals.hpp | |
parent | bd50c86cce2db519c6d981bc0acffc79828a3bcf (diff) |
Change FrequencyClock struct to class and rename it.
Change-Id: I1076ad90e14815f3d0ab71ca9fa359d1d3c1748d
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'src/can/can-signals.hpp')
-rw-r--r-- | src/can/can-signals.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/can/can-signals.hpp b/src/can/can-signals.hpp index 91403d1..63903bd 100644 --- a/src/can/can-signals.hpp +++ b/src/can/can-signals.hpp @@ -87,7 +87,7 @@ private: * don't need an offset. */ float min_value_; /*!< min_value_ - The minimum value for the processed signal.*/ float max_value_; /*!< max_value_ - The maximum value for the processed signal. */ - FrequencyClock frequency_; /*!< frequency_ - A FrequencyClock struct to control the maximum frequency to + frequency_clock_t frequency_; /*!< frequency_ - A frequency_clock_t struct to control the maximum frequency to * process and send this signal. To process every value, set the * clock's frequency to 0. */ bool send_same_; /*!< send_same_ - If true, will re-send even if the value hasn't changed.*/ @@ -115,7 +115,7 @@ public: float get_offset() const; float get_min_value() const; float get_max_value() const; - FrequencyClock& get_frequency(); + frequency_clock_t& get_frequency(); bool get_send_same() const; bool get_force_send_changed() const; std::map<int, std::string> get_state() const; |