Commit b08c69a3 authored by Jan Kiene's avatar Jan Kiene
Browse files

fix undeclared variable error

parent 26af0823
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -152,12 +152,13 @@ def sba_dec_plc(
    dut_out_raw = f"{dut_out_dir}/{plc_tag_out}.raw"
    ref_out_raw = f"{ref_out_dir}/{plc_tag_out}.raw"

    output_config = "FOA"
    if ref_decoder_path:
        ref_decoder = DecoderFrontend(ref_decoder_path, "REF")

        # call REF decoder
        ref_decoder.run(
            "FOA",
            output_config,
            sampling_rate,
            ref_in_pkt,
            ref_out_raw,
@@ -167,7 +168,7 @@ def sba_dec_plc(
    if update_ref == 0:
        # call DUT decoder
        decoder_frontend.run(
            "FOA",
            output_config,
            sampling_rate,
            ref_in_pkt_dutenc,
            dut_out_raw,