Skip to content

Commit

Permalink
provision/warp_esp32: Fix label printing again.
Browse files Browse the repository at this point in the history
This check was wrong, because asking again after the last label is
correct. (In case it has to be reprinted)
  • Loading branch information
rtrbt committed Apr 9, 2024
1 parent acfd91c commit 7082cf9
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions provisioning/provision_warp_esp32_ethernet_brick.py
Original file line number Diff line number Diff line change
Expand Up @@ -508,8 +508,6 @@ def run_stage_1_tests_fn(serial_port, ethernet_ip, relay_pin, test_report):
while next_brick is not None and len(relay_to_rgb_led) > 0:
print(green(f"Removed {next_brick}"))
relay_to_rgb_led.pop(next_brick)
if len(relay_to_rgb_led) > 0:
break
next_brick = print_label(relay_to_ssid[next_brick], relay_to_passphrase[next_brick], test_reports[next_brick], lambda: brick_removed(relay_to_rgb_led))
else:
raise
Expand Down

0 comments on commit 7082cf9

Please sign in to comment.