register air intake 30/2530/1
authorKevron Rees <tripzero.kev@gmail.com>
Tue, 27 Nov 2012 03:21:31 +0000 (19:21 -0800)
committerKevron Rees <tripzero.kev@gmail.com>
Tue, 27 Nov 2012 03:21:31 +0000 (19:21 -0800)
lib/abstractroutingengine.h
lib/vehicleproperty.cpp

index 2f87662..1bf7578 100644 (file)
@@ -170,6 +170,7 @@ public:
        virtual void subscribeToProperty(VehicleProperty::Property, AbstractSink* self) = 0;
        virtual void unsubscribeToProperty(VehicleProperty::Property, AbstractSink* self) = 0;
        virtual PropertyList supported() = 0;
+
 };
 
 #endif // ABSTRACTROUTINGENGINE_H
index a51c52d..5a47d5b 100644 (file)
@@ -117,6 +117,7 @@ VehicleProperty::VehicleProperty()
        registerProperty(AccelerationZ, [](){ return new AccelerationType(0); });
        registerProperty(MassAirFlow, [](){ return new MassAirFlowType(0); });
        registerProperty(ButtonEvent, [](){ return new ButtonEventType(ButtonEvents::NoButton); });
+       REGISTERPROPERTY(AirIntakeTemperature,0)
        registerProperty(BatteryVoltage, [](){ return new BatteryVoltageType(0); });
        registerProperty(InteriorTemperature, [](){ return new InteriorTemperatureType(0); });
        registerProperty(VIN, [](){ return new VINType(""); });