Fixed issue where all sensor data was shown as 0

Former-commit-id: f656f227c83153b3df76f2083011b1b936c041b6
This commit is contained in:
Ziver Koc 2015-12-07 22:02:33 +01:00
parent 9fd1537edb
commit 4bea6adf89

View file

@ -111,7 +111,7 @@ public class PCOverviewHttpPage implements HttpPage {
}
//add this data point to list
list.add(new PowerData(timestampStart, data/1000+"", username));
list.add(new PowerData(timestampStart, ""+ (data/1000.0), username));
//update previous end timestamp
previousTimestampEnd = timestampEnd;