|
@@ -28,11 +28,11 @@ namespace Display
|
|
|
private BikeSensorData sensorData;
|
|
|
|
|
|
// Start is called before the first frame update
|
|
|
- void Start()
|
|
|
+ async void Start()
|
|
|
{
|
|
|
sensorData = BikeSensorData.Instance;
|
|
|
//powermeter and ANT hr only for displaying for now TODO: move to controller if used for controlling
|
|
|
- sensorData.StartListening(powermeterId: powerMeterId, hrAntId: hrAntId);
|
|
|
+ await sensorData.StartListening(powermeterId: powerMeterId, hrAntId: hrAntId);
|
|
|
|
|
|
speedDisplayAvailable = speedDisplay != null;
|
|
|
powerDisplayAvailable = powerDisplay != null;
|