mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2025-06-26 20:37:50 +02:00
More bugfix
This commit is contained in:
@ -478,9 +478,7 @@ private:
|
||||
|
||||
static void start(void* ctx) {
|
||||
SDRPlaySourceModule* _this = (SDRPlaySourceModule*)ctx;
|
||||
if (_this->running) {
|
||||
return;
|
||||
}
|
||||
if (_this->running) { return; }
|
||||
|
||||
// First, acquire device
|
||||
sdrplay_api_ErrT err;
|
||||
@ -599,9 +597,7 @@ private:
|
||||
|
||||
static void stop(void* ctx) {
|
||||
SDRPlaySourceModule* _this = (SDRPlaySourceModule*)ctx;
|
||||
if (!_this->running) {
|
||||
return;
|
||||
}
|
||||
if (!_this->running) { return; }
|
||||
_this->running = false;
|
||||
_this->stream.stopWriter();
|
||||
|
||||
|
Reference in New Issue
Block a user