From 159f59b8589c6080c23e582725672ae46fd26cda Mon Sep 17 00:00:00 2001 From: AlexandreRouma Date: Mon, 22 Jan 2024 19:34:56 +0100 Subject: [PATCH] fix return warning for #1234 --- core/src/dsp/demod/ssb.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/dsp/demod/ssb.h b/core/src/dsp/demod/ssb.h index 59ef16b6..88a43220 100644 --- a/core/src/dsp/demod/ssb.h +++ b/core/src/dsp/demod/ssb.h @@ -110,7 +110,7 @@ namespace dsp::demod { else if (_mode == Mode::LSB) { return -_bandwidth / 2.0; } - else if (_mode == Mode::DSB) { + else { return 0.0; } }