From: Brian Jones Date: Wed, 14 Jan 2015 22:51:06 +0000 (-0800) Subject: Fix for TC-2353 - convert to MPH properly X-Git-Tag: accepted/tizen/ivi/20150115.063054^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=HEAD;p=profile%2Fivi%2FModello_Dashboard.git Fix for TC-2353 - convert to MPH properly Change-Id: Ia45ec8d398f3cab96d183aaffd1983dcf045d232 --- diff --git a/js/main.js b/js/main.js index 1de6754..f9790db 100644 --- a/js/main.js +++ b/js/main.js @@ -99,7 +99,7 @@ var init = function () { navigator.vehicle.vehicleSpeed.get().then( function(vSpeed){ - dashBoardIndicator.onSpeedChanged(vSpeed.speed); + dashBoardIndicator.onSpeedChanged(Math.round(vSpeed.speed * 0.621371)); }, function(){ console.log("Modello Dashboard failed to get Vehicle Speed"); diff --git a/packaging/modello-dashboard.changes b/packaging/modello-dashboard.changes index 26f311c..d1dddc6 100644 --- a/packaging/modello-dashboard.changes +++ b/packaging/modello-dashboard.changes @@ -1,3 +1,6 @@ +* Wed Jan 14 2015 Brian Jones accepted/tizen/ivi/20141202.054057-1-g2c4441a +- Fix for TC-2353 - convert to MPH properly + * Mon Dec 01 2014 Brian Jones accepted/tizen/ivi/20141121.050646-1-g0584f9b - Changed to use the navigator.vehicle namespace - TC-2055