Skip to content

Commit 3bcdaef

Browse files
author
harbaum
committed
No soft reset at all
1 parent 64b039d commit 3bcdaef

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/board.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,11 @@ def __init__(self, parent=None):
5858
self.timer.timeout.connect(self.on_timer)
5959
self.timer.start(20) # poll at 50 Hz
6060

61-
self.soft_reset = False # disable by default, enable if no LEGO device is detected
61+
self.soft_reset = False # disable by default, may be enabled if no LEGO device is detected
6262

6363
def set_soft_reset(self, mode):
64+
# completely disable this as several devices have complex boot.py which in turn results
65+
# in half-booted setups as soft_reset executes this. This is e.g. true for LEGO Hubs
6466
# self.soft_reset = mode
6567
pass
6668

0 commit comments

Comments
 (0)