Skip to content

Commit

Permalink
fix assert
Browse files Browse the repository at this point in the history
  • Loading branch information
misko committed Feb 14, 2024
1 parent 5b197c3 commit df23463
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion spf/grbl_sdr_collect_v2.py
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,10 @@ def grbl_thread_runner(gm, routine):
n_calibration_frames=yaml_config["calibration-frames"],
)
else:
assert args.skip_phase_calibration
assert args.skip_phase_calibration or (
"skip_phase_calibration" in yaml_config
and yaml_config["skip_phase_calibration"]
)
# there is no emitter to setup, its already blasting
pplus_rx = setup_rx(rx_config=rx_config)

Expand Down

0 comments on commit df23463

Please sign in to comment.