From a3374c7eca1fe5ba0d1a62c506d5fc8109d713b0 Mon Sep 17 00:00:00 2001 From: Ryzerth Date: Wed, 23 Dec 2020 20:22:20 +0100 Subject: [PATCH] fixed airspyhf module missing function --- airspyhf_source/src/main.cpp | 4 ---- core/src/gui/dialogs/loading_screen.cpp | 2 +- readme.md | 2 ++ 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/airspyhf_source/src/main.cpp b/airspyhf_source/src/main.cpp index b5144275..bd57b800 100644 --- a/airspyhf_source/src/main.cpp +++ b/airspyhf_source/src/main.cpp @@ -131,9 +131,6 @@ public: sampleRateListTxt += '\0'; } - blockSize = airspyhf_get_output_size(dev); - spdlog::info("AirspyHF block size {0}", blockSize); - srId = 0; airspyhf_close(dev); @@ -276,7 +273,6 @@ private: std::string name; airspyhf_device_t* openDev; bool enabled = true; - int blockSize = 0; dsp::stream stream; double sampleRate; SourceManager::SourceHandler handler; diff --git a/core/src/gui/dialogs/loading_screen.cpp b/core/src/gui/dialogs/loading_screen.cpp index a616051c..4f6d4ebd 100644 --- a/core/src/gui/dialogs/loading_screen.cpp +++ b/core/src/gui/dialogs/loading_screen.cpp @@ -64,7 +64,7 @@ namespace LoadingScreen { ImGui::Spacing(); ImGui::Spacing(); ImGui::Spacing(); - ImGui::Text(msg.c_str()); + ImGui::Text("%s", msg.c_str()); ImGui::EndPopup(); ImGui::PopStyleVar(1); diff --git a/readme.md b/readme.md index f23b619d..44448f21 100644 --- a/readme.md +++ b/readme.md @@ -3,6 +3,8 @@ ![Screenshot](https://i.imgur.com/WejsiFN.png) SDR++ is a cross-platform and open source SDR software with the aim of being bloat free and simple to use. +![CMake](https://github.com/AlexandreRouma/SDRPlusPlus/workflows/CMake/badge.svg) + * [Patreon](https://patreon.com/ryzerth) * [Discord Server](https://discord.gg/aFgWjyD)