diff options
Diffstat (limited to 'src/configuration.cpp')
-rw-r--r-- | src/configuration.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/configuration.cpp b/src/configuration.cpp index 52ddde42..8a2df909 100644 --- a/src/configuration.cpp +++ b/src/configuration.cpp @@ -82,6 +82,11 @@ const std::vector<can_message_definition_t>& configuration_t::get_can_message_de return can_message_definition_[active_message_set_]; } +const can_message_definition_t& configuration_t::get_can_message_definition(std::uint8_t message_set_id, std::uint8_t message_id) +{ + return can_message_definition_[message_set_id][message_id]; +} + uint32_t configuration_t::get_signal_id(diagnostic_message_t& sig) const { return sig.get_pid(); |