diff options
author | Kevron Rees <tripzero.kev@gmail.com> | 2012-08-28 07:14:05 -0700 |
---|---|---|
committer | Kevron Rees <tripzero.kev@gmail.com> | 2012-08-28 15:16:25 -0700 |
commit | eda84a1f1c029687c3f1963ddd012105927a9da3 (patch) | |
tree | 2c9cdf5ddba16e744bb6e3a698e4a822dcd98d57 | |
parent | 1dc487925da2c219008b308c9ab03eb0ff521646 (diff) | |
download | automotive-message-broker-eda84a1f1c029687c3f1963ddd012105927a9da3.tar.gz |
some more changes
-rw-r--r-- | plugins/wheel/wheelplugin.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/wheel/wheelplugin.cpp b/plugins/wheel/wheelplugin.cpp index a326cab6..6517ee62 100644 --- a/plugins/wheel/wheelplugin.cpp +++ b/plugins/wheel/wheelplugin.cpp @@ -236,9 +236,9 @@ WheelPrivate::~WheelPrivate() boost::any WheelPrivate::getProperty(VehicleProperty::Property propType) { if (propType == VehicleProperty::VehicleSpeed) - return BasicPropertyType<uint16_t>(this->calcCarSpeed()) + return BasicPropertyType<uint16_t>(this->calcCarSpeed()); else if (propType == VehicleProperty::EngineSpeed) - return this->calcRPM(); + return BasicPropertyType<uint16_t>(this->calcRPM()); else if (propType == VehicleProperty::TransmissionShiftPosition) return this->currentGear; else if (propType == VehicleProperty::ThrottlePosition) |