From 052167962dbf9adc2a02825f2f428e7613255d50 Mon Sep 17 00:00:00 2001 From: AlexandreRouma Date: Wed, 17 Jan 2024 06:52:08 +0100 Subject: [PATCH] fix the rtlsdr source on android again --- source_modules/rtl_sdr_source/src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source_modules/rtl_sdr_source/src/main.cpp b/source_modules/rtl_sdr_source/src/main.cpp index b7ce64cb..7ef3951c 100644 --- a/source_modules/rtl_sdr_source/src/main.cpp +++ b/source_modules/rtl_sdr_source/src/main.cpp @@ -285,7 +285,7 @@ private: #ifndef __ANDROID__ int oret = rtlsdr_open(&_this->openDev, _this->devId); #else - int oret = rtlsdr_open_fd(&_this->openDev, _this->devFd); + int oret = rtlsdr_open_sys_dev(&_this->openDev, _this->devFd); #endif if (oret < 0) {