android fix

This commit is contained in:
AlexandreRouma
2022-09-03 00:38:18 +02:00
parent 72b895fc67
commit cd71becd8a
3 changed files with 5 additions and 3 deletions

View File

@ -268,7 +268,7 @@ private:
#ifndef __ANDROID__
int err = airspy_open_sn(&_this->openDev, _this->selectedSerial);
#else
int err = airspy_open_sn(&_this->openDev, _this->devFd);
int err = airspy_open_fd(&_this->openDev, _this->devFd);
#endif
if (err != 0) {
char buf[1024];