android fixes

This commit is contained in:
AlexandreRouma
2022-09-02 20:08:16 +02:00
parent ce3fea3747
commit 72b895fc67
10 changed files with 22 additions and 32 deletions

View File

@ -132,7 +132,7 @@ public:
#ifndef __ANDROID__
int err = airspyhf_open_sn(&dev, serial);
#else
int err = airspyhf_open_sn(&dev, devFd);
int err = airspyhf_open_fd(&dev, devFd);
#endif
if (err != 0) {
char buf[1024];