From 0fae3799143290ad4604a4164f173746738bc523 Mon Sep 17 00:00:00 2001 From: "Vanya A. Sergeev" Date: Tue, 25 Feb 2020 00:49:46 -0600 Subject: [PATCH] blocks/sources/soapysdr: fix SoapySDRRange structure in ffi cdefs with step member. --- radio/blocks/sources/soapysdr.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/radio/blocks/sources/soapysdr.lua b/radio/blocks/sources/soapysdr.lua index 7b4234749..3ea66fef8 100644 --- a/radio/blocks/sources/soapysdr.lua +++ b/radio/blocks/sources/soapysdr.lua @@ -72,10 +72,10 @@ if not package.loaded['radio.blocks.sinks.soapysdr'] then typedef struct SoapySDRDevice SoapySDRDevice; typedef struct SoapySDRStream SoapySDRStream; - typedef struct - { + typedef struct { double minimum; double maximum; + double step; } SoapySDRRange; typedef struct {