summaryrefslogtreecommitdiffstats
path: root/src/diagnostic/diagnostic-message.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/diagnostic/diagnostic-message.hpp')
-rw-r--r--src/diagnostic/diagnostic-message.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/diagnostic/diagnostic-message.hpp b/src/diagnostic/diagnostic-message.hpp
index 8301917..02c6a9f 100644
--- a/src/diagnostic/diagnostic-message.hpp
+++ b/src/diagnostic/diagnostic-message.hpp
@@ -62,6 +62,7 @@ class obd2_signal_t {
const std::string& get_generic_name() const;
const std::string get_name() const;
const std::string& get_prefix() const;
+ int get_frequency() const;
void set_prefix(std::string val);
@@ -71,5 +72,5 @@ class obd2_signal_t {
bool is_obd2_request(DiagnosticRequest *request);
bool is_obd2_signal(const char *name);
- float decode_obd2_response(const DiagnosticResponse* response, float parsedPayload);
+ static float decode_obd2_response(const DiagnosticResponse* response, float parsedPayload);
}; \ No newline at end of file