summaryrefslogtreecommitdiffstats
path: root/src/configuration.cpp
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-03-08 09:44:53 +0100
committerRomain Forlot <romain.forlot@iot.bzh>2017-03-16 17:10:39 +0100
commitc01da10d067038794eb845735e2a7959744ca2b3 (patch)
treecbaa9ff7fa7338c96ebd5d2f0766872df5963283 /src/configuration.cpp
parent9519e9d5b875b45fbf6f32267b728b1d11377276 (diff)
Added a warning that it is an example code
Change-Id: Ib66e49960a348896020fba56f7d98910623af83f Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'src/configuration.cpp')
-rw-r--r--src/configuration.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/configuration.cpp b/src/configuration.cpp
index de06a65f..0c5e8d08 100644
--- a/src/configuration.cpp
+++ b/src/configuration.cpp
@@ -15,6 +15,10 @@
* limitations under the License.
*/
+/////////////////////////////////////////////////////////////////////////////////////
+// THIS IS AN EXAMPLE
+/////////////////////////////////////////////////////////////////////////////////////
+
#include <configuration.hpp>
#define OBD2_FUNCTIONAL_BROADCAST_ID 0x7df
@@ -22,7 +26,7 @@
/*
* Pre-defined OBD-II PIDs to query for if supported by the vehicle.
*/
- std::vector<obd2_signals_t> OBD2_PIDS = {
+ std::vector<obd2_signal_t> OBD2_PIDS = {
{ 0x04, "obd2.engine.load", 0, 100, POURCENT, 5, false},
{ 0x05, "obd2.engine.coolant.temperature", -40, 215, DEGREES_CELSIUS, 1, false},
{ 0x0a, "obd2.fuel.pressure", 0, 765, KPA, 1, false},