forked from upstream-mirrors/OpenTracks
Restored functionality: sensor name/address is shown AFTER connecting.
This commit is contained in:
@@ -27,8 +27,8 @@ public class CyclingPowerHandler extends SensorHandler<CyclingPowerBluetooth.Dat
|
||||
|
||||
@NonNull
|
||||
@Override
|
||||
protected AggregatorCyclingPower createAggregator() {
|
||||
return new AggregatorCyclingPower("", null);
|
||||
protected AggregatorCyclingPower createAggregator(String sensorAddress, String sensorName) {
|
||||
return new AggregatorCyclingPower(sensorAddress, sensorName);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user