aboutsummaryrefslogtreecommitdiffstats
path: root/src/diagnostic
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-03-09 02:25:46 +0100
committerRomain Forlot <romain.forlot@iot.bzh>2017-03-16 17:10:40 +0100
commitf1afeaf50836bf66153cb6cccbfbfdc1e2a5493b (patch)
tree9b006e190acd372e0f0c9e4bf9c82ce4e5e288a5 /src/diagnostic
parent40acdf8f4ee0ee4127ffb5f092aaf0376763e7ce (diff)
Typo and formating.
Change-Id: I864a2fe7f974b0f2bf5000f55c2dc71ecf32a314 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'src/diagnostic')
-rw-r--r--src/diagnostic/diagnostic-message.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/diagnostic/diagnostic-message.hpp b/src/diagnostic/diagnostic-message.hpp
index ccfd6d0a..33035ff1 100644
--- a/src/diagnostic/diagnostic-message.hpp
+++ b/src/diagnostic/diagnostic-message.hpp
@@ -68,9 +68,9 @@ typedef struct _Obd2Pid {
class obd2_signal_t {
private:
uint8_t pid_; /*!< pid - The 1 byte PID.*/
- const std::string generic_name_; /*!< generic_name_ - A human readable name to use for this PID when published.*/
- const int min_; /*!< min_ - Minimum value that can take this pid */
- const int max_; /*!< max_ - Maximum value that can take this pid */
+ std::string generic_name_; /*!< generic_name_ - A human readable name to use for this PID when published.*/
+ int min_; /*!< min_ - Minimum value that can take this pid */
+ int max_; /*!< max_ - Maximum value that can take this pid */
enum UNIT unit_; /*!< unit_ : Which unit system is used by that pid. See enum UNIT above.*/
int frequency_; /*!< frequency - The frequency to request this PID if supported by the vehicle when automatic, recurring OBD-II requests are enabled.*/
bool supported_; /*!< supported_ - boolean indicating whether this pid is supported by the vehicle or not.*/