File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4545 # Stop scanning whether or not we are connected.
4646 ble .stop_scan ()
4747
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.
5248 if ((not HEART or (hr_connection and hr_connection .connected )) and #pylint: disable=too-many-boolean-expressions
5349 ((not SPEED and not CADENCE ) or
5450 (speed_cadence_connections and speed_cadence_connections [0 ].connected )) and
5753
5854pyloton .setup_display ()
5955
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.
6356while ((not HEART or hr_connection .connected ) and
6457 ((not SPEED or not CADENCE ) or speed_cadence_connections [0 ].connected ) and
6558 (not AMS or ams .connected )):
You can’t perform that action at this time.
0 commit comments