@@ -345,29 +345,30 @@ def update_display(self, hr_service):
345
345
speed , cadence = self .read_s_and_c ()
346
346
347
347
if self .heart_enabled :
348
- hr_label = self ._label_maker ('{} bpm' .format (heart ), 50 , self . heart_y ) # 75
348
+ hr_label = self ._label_maker ('{} bpm' .format (heart ), 50 , 75 ) # 75
349
349
if self .setup :
350
350
self .splash [3 ] = hr_label
351
351
else :
352
352
self .splash .append (hr_label )
353
353
354
354
if self .speed_enabled :
355
- sp_label = self ._label_maker ('{} mph' .format (speed ), 50 , self . speed_y ) # 120
355
+ sp_label = self ._label_maker ('{} mph' .format (speed ), 50 , 120 ) # 120
356
356
if self .setup :
357
357
self .splash [4 ] = sp_label
358
358
else :
359
359
self .splash .append (sp_label )
360
360
361
361
362
362
if self .cadence_enabled :
363
- cad_label = self ._label_maker ('{} rpm' .format (cadence ), 50 , self . cad_y ) # 165
363
+ cad_label = self ._label_maker ('{} rpm' .format (cadence ), 50 , 165 ) # 165
364
364
if self .setup :
365
365
self .splash [5 ] = cad_label
366
366
else :
367
367
self .splash .append (cad_label )
368
368
369
369
if self .ams_enabled :
370
- ams_label = self ._label_maker ('{}' .format (self .ams .title ), 50 , self .ams_y , font = self .arial16 ) # 210
370
+ ams_label = self ._label_maker ('{}' .format (self .ams .title ), 50 , 210 , font = self .arial16 ) # 210
371
+
371
372
if self .setup :
372
373
self .splash [6 ] = ams_label
373
374
else :
0 commit comments