From 5a2b0c9d79fa8eb43fd60d34d63589b0ed1cf7a7 Mon Sep 17 00:00:00 2001 From: AlexandreRouma Date: Sun, 12 Sep 2021 19:12:23 +0200 Subject: [PATCH] Added new patron to the readme and fixed radio remove/disable bug --- core/src/credits.cpp | 1 + core/src/dsp/vfo.h | 2 ++ readme.md | 1 + rpi_install.sh | 22 ++++++++++++++++++++++ 4 files changed, 26 insertions(+) create mode 100644 rpi_install.sh diff --git a/core/src/credits.cpp b/core/src/credits.cpp index c2204f82..1384f9cc 100644 --- a/core/src/credits.cpp +++ b/core/src/credits.cpp @@ -35,6 +35,7 @@ namespace sdrpp_credits { }; const char* patrons[] = { + "Bob Logan", "Croccydile", "Daniele D'Agnelli", "EB3FRN", diff --git a/core/src/dsp/vfo.h b/core/src/dsp/vfo.h index 4edb56bd..63190b3e 100644 --- a/core/src/dsp/vfo.h +++ b/core/src/dsp/vfo.h @@ -46,6 +46,7 @@ namespace dsp { if (running) { return; } xlator.start(); resamp.start(); + running = true; } void stop() { @@ -53,6 +54,7 @@ namespace dsp { if (!running) { return; } xlator.stop(); resamp.stop(); + running = false; } void setInSampleRate(float inSampleRate) { diff --git a/readme.md b/readme.md index be1bf679..ab7d2b0d 100644 --- a/readme.md +++ b/readme.md @@ -353,6 +353,7 @@ I will soon publish a contributing.md listing the code style to use. ## Patrons +* Bob Logan * Croccydile * [Daniele D'Agnelli](https://linkedin.com/in/dagnelli) * [EB3FRN](https://www.eb3frn.net/) diff --git a/rpi_install.sh b/rpi_install.sh new file mode 100644 index 00000000..584e13b9 --- /dev/null +++ b/rpi_install.sh @@ -0,0 +1,22 @@ +#!/bin/sh +set -e + +[ $(id -u) = 0 ] && echo "Please do not run this script as root" && exit 100 + +echo "Installing dependencies" +sudo apt update +sudo apt install -y build-essential cmake git libfftw3-dev libglfw3-dev libglew-dev libvolk2-dev libsoapysdr-dev libairspyhf-dev libairspy-dev \ + libiio-dev libad9361-dev librtaudio-dev libhackrf-dev librtlsdr-dev libbladerf-dev liblimesuite-dev p7zip-full wget + +echo "Preparing build" +mkdir -p build +cd build +cmake .. -DOPT_BUILD_BLADERF_SOURCE=ON -DOPT_BUILD_LIMESDR_SOURCE=ON + +echo "Building" +make + +echo "Installing" +sudo make install + +echo "Done!" \ No newline at end of file