From 5e5c575e93102a86d605813f5d6a1c1485ff8b1c Mon Sep 17 00:00:00 2001 From: AlexandreRouma Date: Sat, 29 Jan 2022 16:31:59 +0100 Subject: [PATCH] Added SDRplay source to the Raspberry Pi CI --- .github/workflows/build_all.yml | 2 +- source_modules/sdrplay_source/src/main.cpp | 11 ----------- 2 files changed, 1 insertion(+), 12 deletions(-) diff --git a/.github/workflows/build_all.yml b/.github/workflows/build_all.yml index 9333991..c3316f7 100644 --- a/.github/workflows/build_all.yml +++ b/.github/workflows/build_all.yml @@ -309,7 +309,7 @@ jobs: - name: Prepare CMake working-directory: ${{runner.workspace}}/build - run: cmake $GITHUB_WORKSPACE -DOPT_BUILD_BLADERF_SOURCE=ON -DOPT_BUILD_LIMESDR_SOURCE=ON -DOPT_BUILD_NEW_PORTAUDIO_SINK=ON -DOPT_BUILD_M17_DECODER=ON + run: cmake $GITHUB_WORKSPACE -DOPT_BUILD_BLADERF_SOURCE=ON -DOPT_BUILD_LIMESDR_SOURCE=ON -DOPT_BUILD_SDRPLAY_SOURCE=ON -DOPT_BUILD_NEW_PORTAUDIO_SINK=ON -DOPT_BUILD_M17_DECODER=ON - name: Build working-directory: ${{runner.workspace}}/build diff --git a/source_modules/sdrplay_source/src/main.cpp b/source_modules/sdrplay_source/src/main.cpp index 94c4662..c0f7116 100644 --- a/source_modules/sdrplay_source/src/main.cpp +++ b/source_modules/sdrplay_source/src/main.cpp @@ -161,17 +161,6 @@ public: config.release(); selectByName(confSelectDev); - // if (sampleRateList.size() > 0) { - // sampleRate = sampleRateList[0]; - // } - - // Select device from config - // config.acquire(); - // std::string devSerial = config.conf["device"]; - // config.release(); - // selectByString(devSerial); - // core::setInputSampleRate(sampleRate); - sigpath::sourceManager.registerSource("SDRplay", &handler); initOk = true;