mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2025-02-04 05:44:45 +01:00
fix build on android due to new librtlsdr function name
This commit is contained in:
parent
e710b6c6dc
commit
6fc41a81a7
@ -171,7 +171,7 @@ public:
|
|||||||
#ifndef __ANDROID__
|
#ifndef __ANDROID__
|
||||||
int oret = rtlsdr_open(&openDev, id);
|
int oret = rtlsdr_open(&openDev, id);
|
||||||
#else
|
#else
|
||||||
int oret = rtlsdr_open_fd(&openDev, devFd);
|
int oret = rtlsdr_open_sys_dev(&openDev, devFd);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (oret < 0) {
|
if (oret < 0) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user