Skip to content

Commit

Permalink
fix the rtlsdr source on android again
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexandreRouma committed Jan 17, 2024
1 parent 6fc41a8 commit 0521679
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source_modules/rtl_sdr_source/src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ class RTLSDRSourceModule : public ModuleManager::Instance {
#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) {
Expand Down

0 comments on commit 0521679

Please sign in to comment.