mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2024-11-10 12:47:40 +01:00
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:
commit
892f957729
@ -113,7 +113,7 @@ public:
|
|||||||
if (err != 0) {
|
if (err != 0) {
|
||||||
char buf[1024];
|
char buf[1024];
|
||||||
sprintf(buf, "%016" PRIX64, serial);
|
sprintf(buf, "%016" PRIX64, serial);
|
||||||
spdlog::error("Could not open Airspy HF+ {0}", buf);
|
spdlog::error("Could not open Airspy {0}", buf);
|
||||||
selectedSerial = 0;
|
selectedSerial = 0;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@ -121,7 +121,7 @@ public:
|
|||||||
catch (std::exception e) {
|
catch (std::exception e) {
|
||||||
char buf[1024];
|
char buf[1024];
|
||||||
sprintf(buf, "%016" PRIX64, serial);
|
sprintf(buf, "%016" PRIX64, serial);
|
||||||
spdlog::error("Could not open Airspy HF+ {0}", buf);
|
spdlog::error("Could not open Airspy {0}", buf);
|
||||||
}
|
}
|
||||||
selectedSerial = serial;
|
selectedSerial = serial;
|
||||||
|
|
||||||
@ -240,7 +240,7 @@ private:
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (_this->selectedSerial == 0) {
|
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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
#include <Windows.h>
|
#include <Windows.h>
|
||||||
#include <ShlObj_core.h>
|
#include <ShlObj.h>
|
||||||
#include <thread>
|
#include <thread>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user