Fix for CopyMe<T> having an error in its constructor paramter 19/2519/1
authorMichael Carpenter <malcom2073@gmail.com>
Sun, 25 Nov 2012 00:37:41 +0000 (19:37 -0500)
committerMichael Carpenter <malcom2073@gmail.com>
Sun, 25 Nov 2012 00:37:41 +0000 (19:37 -0500)
plugins/obd2plugin/obdpid.h

index 2f09821..d0faac5 100644 (file)
@@ -100,7 +100,7 @@ class EngineSpeedPid: public CopyMe<EngineSpeedPid>
 public:
 
        EngineSpeedPid()
-               :CopyMe(VehicleProperty::EngineSpeed,"010C1\r",0x0D)
+               :CopyMe(VehicleProperty::EngineSpeed,"010C1\r",0x0C)
        {
 
        }
@@ -122,7 +122,7 @@ class EngineCoolantPid: public CopyMe<EngineCoolantPid>
 public:
 
        EngineCoolantPid()
-               :CopyMe(VehicleProperty::EngineCoolantTemperature,"01051\r",0x0D)
+               :CopyMe(VehicleProperty::EngineCoolantTemperature,"01051\r",0x05)
        {
 
        }
@@ -144,7 +144,7 @@ class MassAirFlowPid: public CopyMe<MassAirFlowPid>
 public:
 
        MassAirFlowPid()
-               :CopyMe(VehicleProperty::MassAirFlow,"01101\r",0x0D)
+               :CopyMe(VehicleProperty::MassAirFlow,"01101\r",0x01)
        {
 
        }
@@ -201,7 +201,7 @@ class VinPid: public CopyMe<VinPid>
 public:
 
        VinPid()
-               :CopyMe(VehicleProperty::VIN,"0902\r",0x0D)
+               :CopyMe(VehicleProperty::VIN,"0902\r",0x02)
        {
                type = 0x49;
        }