diff options
author | Arturs Artamonovs <arturs.artamonovs@protonmail.com> | 2024-12-22 09:45:59 +0000 |
---|---|---|
committer | Arturs Artamonovs <arturs.artamonovs@protonmail.com> | 2024-12-22 09:45:59 +0000 |
commit | b999f85d83728bd7034e85f2e038bb9a6454b16a (patch) | |
tree | 9a680554c7b89dc3f939b8082bee1eb0ccf7ebee /Radio/HW/AirSpy | |
parent | 4a489b2f306c179e303567908a26e7e79ef5c0dd (diff) | |
download | PrySDR-main.tar.gz PrySDR-main.zip |
BladeRF: seems to receive datamain
Diffstat (limited to 'Radio/HW/AirSpy')
-rw-r--r-- | Radio/HW/AirSpy/AirSpy.swift | 3 |
1 files changed, 3 insertions, 0 deletions
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<UInt32> = .allocate(capacity: 1) |