Merge pull request #96 from bvernoux/master

Fix build with Windows SDK 8.1 or more, fix typos in airspy_source
pull/101/head
AlexandreRouma 2021-04-16 19:55:05 +02:00 zatwierdzone przez GitHub
commit 892f957729
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
2 zmienionych plików z 4 dodań i 4 usunięć

Wyświetl plik

@ -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;
}

Wyświetl plik

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