diff options
Diffstat (limited to 'low-can-binding/can/signals.cpp')
-rwxr-xr-x | low-can-binding/can/signals.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/low-can-binding/can/signals.cpp b/low-can-binding/can/signals.cpp index 57aefa55..2b87dc6f 100755 --- a/low-can-binding/can/signals.cpp +++ b/low-can-binding/can/signals.cpp @@ -220,7 +220,12 @@ void signal_t::set_timestamp(uint64_t timestamp) frequency_.tick(timestamp); } -std::pair<bool, int> signal_t::get_multiplex() const +void signal_t::set_bit_position(uint32_t bit_position) +{ + bit_position_=bit_position; +} + +std::pair<bool,int> signal_t::get_multiplex() const { return multiplex_; } |