mirror of
https://github.com/undera/pylgbst.git
synced 2020-11-18 19:37:26 -08:00
parent
d271f251dd
commit
4f8dbe852c
@ -152,7 +152,6 @@ def demo_motor_sensors(movehub):
|
|||||||
movehub.motor_B.unsubscribe(callback_b)
|
movehub.motor_B.unsubscribe(callback_b)
|
||||||
|
|
||||||
if movehub.motor_external is not None:
|
if movehub.motor_external is not None:
|
||||||
demo_motor_sensors.states[movehub.motor_external] = None
|
|
||||||
movehub.motor_external.unsubscribe(callback_e)
|
movehub.motor_external.unsubscribe(callback_e)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user