File tree Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Original file line number Diff line number Diff line change 45
45
# Stop scanning whether or not we are connected.
46
46
ble .stop_scan ()
47
47
48
- # You may need to remove some parts of the following 2 lines depending on what
49
- # devices you are using.
50
- # For example, remove hr_connection and hr_connection.connected if you aren't using a heart
51
- # rate monitor. Do the same for other sensors you aren't using.
52
48
if ((not HEART or (hr_connection and hr_connection .connected )) and #pylint: disable=too-many-boolean-expressions
53
49
((not SPEED and not CADENCE ) or
54
50
(speed_cadence_connections and speed_cadence_connections [0 ].connected )) and
57
53
58
54
pyloton .setup_display ()
59
55
60
- # You may need to remove some parts of the following line depending on what devices you are using.
61
- # For example, remove hr_connection and hr_connection.connected if you aren't using a heart rate
62
- # monitor. Do the same for other sensors you aren't using.
63
56
while ((not HEART or hr_connection .connected ) and
64
57
((not SPEED or not CADENCE ) or speed_cadence_connections [0 ].connected ) and
65
58
(not AMS or ams .connected )):
You can’t perform that action at this time.
0 commit comments