Fixed some typos in spdlog::error() for airspy_source (removed HF+)

This commit is contained in:
bvernoux 2021-04-16 19:48:25 +02:00
parent 0b9d5c2b69
commit c2bccc9b04

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