From b999f85d83728bd7034e85f2e038bb9a6454b16a Mon Sep 17 00:00:00 2001 From: Arturs Artamonovs Date: Sun, 22 Dec 2024 09:45:59 +0000 Subject: BladeRF: seems to receive data --- Radio/HW/AirSpy/AirSpy.swift | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Radio/HW') diff --git a/Radio/HW/AirSpy/AirSpy.swift b/Radio/HW/AirSpy/AirSpy.swift index 25f5b0b..61623c6 100644 --- a/Radio/HW/AirSpy/AirSpy.swift +++ b/Radio/HW/AirSpy/AirSpy.swift @@ -33,6 +33,9 @@ class AirSpy { } func getSampleRates() -> [UInt32] { + + var ret: Int32 = 0 + if sample_rates.count == 0 { let nscount: UnsafeMutablePointer = .allocate(capacity: 1) -- cgit v1.2.3