We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7d2b3f9 commit b4edbfaCopy full SHA for b4edbfa
1 file changed
CircuitPython_Pyloton/code.py
@@ -46,7 +46,7 @@
46
47
# You may need to remove some parts of the following 2 lines depending on what
48
# devices you are using.
49
- if hr_connection and speed_cad_connections[0] and ams:
+ if hr_connection and speed_cad_connections and ams:
50
if hr_connection.connected and speed_cad_connections[0].connected and ams.connected:
51
pyloton.setup_display()
52
break
0 commit comments