Skip to content

Commit

Permalink
gr-iqtlabs '78, handle no inference.
Browse files Browse the repository at this point in the history
  • Loading branch information
anarkiwi committed Feb 2, 2024
1 parent 1656a2a commit 8515761
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker/Dockerfile.base
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
libvulkan-dev \
python3-numpy
WORKDIR /root
RUN git clone https://github.com/iqtlabs/gr-iqtlabs -b 1.0.77
RUN git clone https://github.com/iqtlabs/gr-iqtlabs -b 1.0.78
COPY --from=iqtlabs/gamutrf-vkfft:latest /root /root/gr-iqtlabs
WORKDIR /root/gr-iqtlabs/build
COPY --from=sigmf-builder /usr/local /usr/local
Expand All @@ -51,7 +51,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
libvulkan1 \
python3 \
python3-numpy \
&& apt-get -y -q clean && rm -rf /var/lib/apt/lists/*
&& apt-get -y -q clean && rm -rf /var/lib/apt/lists/*
COPY --from=iqtlabs/gnuradio:3.10.9.2 /usr/local /usr/local
COPY --from=iqtlabs/gamutrf-driver /usr/local /usr/local
COPY --from=iqtlabs/gamutrf-uhd-sr /usr/local /usr/local
Expand Down
2 changes: 2 additions & 0 deletions gamutrf/grscan.py
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,8 @@ def __init__(
)
for i, block in enumerate(self.inference_blocks):
self.connect((block, 0), (self.inference_output_block, i))

Check warning on line 303 in gamutrf/grscan.py

View check run for this annotation

Codecov / codecov/patch

gamutrf/grscan.py#L302-L303

Added lines #L302 - L303 were not covered by tests
else:
self.connect((retune_fft, 1), (blocks.null_sink(gr.sizeof_float * nfft)))

if pretune:
self.msg_connect((self.retune_pre_fft, "tune"), (self.sources[0], cmd_port))
Expand Down

0 comments on commit 8515761

Please sign in to comment.