Fix Target load Dial

When working with ANT+ devices the load dial always
showed zero, because the ANT device was not updating
the realtime data with the desired load.

In addition, the target load telemetry always showed
watts even when working in slope mode (where it should
show the gradient).

Fixes #532.
This commit is contained in:
Mark Liversedge
2011-12-01 21:35:39 +00:00
parent 344cccb913
commit 088587c8fb
10 changed files with 69 additions and 33 deletions

View File

@@ -127,7 +127,7 @@ ComputrainerController::getRealtimeData(RealtimeData &rtData)
if ((Buttons&CT_MINUS) && !(Buttons&CT_F3)) {
parent->Lower();
}
rtData.setLoad(Load);
//rtData.setLoad(Load);
#if 0 // F3 now toggles calibration
// FFWD/REWIND