summaryrefslogtreecommitdiff
path: root/Radio/HW
diff options
context:
space:
mode:
authorArturs Artamonovs <arturs.artamonovs@protonmail.com>2024-12-22 09:45:59 +0000
committerArturs Artamonovs <arturs.artamonovs@protonmail.com>2024-12-22 09:45:59 +0000
commitb999f85d83728bd7034e85f2e038bb9a6454b16a (patch)
tree9a680554c7b89dc3f939b8082bee1eb0ccf7ebee /Radio/HW
parent4a489b2f306c179e303567908a26e7e79ef5c0dd (diff)
downloadPrySDR-b999f85d83728bd7034e85f2e038bb9a6454b16a.tar.gz
PrySDR-b999f85d83728bd7034e85f2e038bb9a6454b16a.zip
BladeRF: seems to receive datamain
Diffstat (limited to 'Radio/HW')
-rw-r--r--Radio/HW/AirSpy/AirSpy.swift3
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)