Merge pull request #96 from bvernoux/master

Fix build with Windows SDK 8.1 or more, fix typos in airspy_source
This commit is contained in:
AlexandreRouma 2021-04-16 19:55:05 +02:00 committed by GitHub
commit 892f957729
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -113,7 +113,7 @@ public:
if (err != 0) {
char buf[1024];
sprintf(buf, "%016" PRIX64, serial);
spdlog::error("Could not open Airspy HF+ {0}", buf);
spdlog::error("Could not open Airspy {0}", buf);
selectedSerial = 0;
return;
}
@ -121,7 +121,7 @@ public:
catch (std::exception e) {
char buf[1024];
sprintf(buf, "%016" PRIX64, serial);
spdlog::error("Could not open Airspy HF+ {0}", buf);
spdlog::error("Could not open Airspy {0}", buf);
}
selectedSerial = serial;
@ -240,7 +240,7 @@ private:
return;
}
if (_this->selectedSerial == 0) {
spdlog::error("Tried to start AirspyHF+ source with null serial");
spdlog::error("Tried to start Airspy source with null serial");
return;
}

View File

@ -6,7 +6,7 @@
#ifdef _WIN32
#include <Windows.h>
#include <ShlObj_core.h>
#include <ShlObj.h>
#include <thread>
#endif