From 6fc41a81a73b0fd30b6b2ba97b6dd808b70184a9 Mon Sep 17 00:00:00 2001 From: AlexandreRouma Date: Wed, 17 Jan 2024 06:41:25 +0100 Subject: [PATCH] fix build on android due to new librtlsdr function name --- 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 dba27610..b7ce64cb 100644 --- a/source_modules/rtl_sdr_source/src/main.cpp +++ b/source_modules/rtl_sdr_source/src/main.cpp @@ -171,7 +171,7 @@ public: #ifndef __ANDROID__ int oret = rtlsdr_open(&openDev, id); #else - int oret = rtlsdr_open_fd(&openDev, devFd); + int oret = rtlsdr_open_sys_dev(&openDev, devFd); #endif if (oret < 0) {