Skip to content

Commit e3f0c48

Browse files
committed
don't pass a module as a parameter
1 parent 9569f1d commit e3f0c48

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

examples/external_devices_examples/pushbot_ethernet_example.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
))
8383

8484
retina_viewer = p.external_devices.PushBotRetinaViewer(
85-
retina_resolution, pushbot_retina.label, p)
85+
retina_resolution, pushbot_retina.label)
8686
p.external_devices.activate_live_output_for(
8787
pushbot_retina, database_notify_port_num=retina_viewer.port)
8888

examples/external_devices_examples/pushbot_light_follower.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
retina_label = "Retina"
4242

4343
retina_viewer = p.external_devices.PushBotRetinaViewer(
44-
retina_resolution, retina_label, p)
44+
retina_resolution, retina_label)
4545

4646
# Simulate with 1 ms time step
4747
p.setup(1.0)

examples/external_devices_examples/pushbot_spinnaker_link_example.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@
8181
label="Retina")
8282

8383
retina_viewer = p.external_devices.PushBotRetinaViewer(
84-
retina_resolution, pushbot_retina.label, p)
84+
retina_resolution, pushbot_retina.label)
8585
p.external_devices.activate_live_output_for(
8686
pushbot_retina, database_notify_port_num=retina_viewer.port)
8787

0 commit comments

Comments
 (0)