Fixed switch statement fallthrough

This commit is contained in:
Jordan Sherer 2019-11-07 22:36:54 -05:00
parent 084dd77b42
commit b54e3e89aa
2 changed files with 5 additions and 5 deletions

View File

@ -15,7 +15,7 @@
#define JS8_ENABLE_JS8A 1 #define JS8_ENABLE_JS8A 1
#define JS8_ENABLE_JS8B 1 #define JS8_ENABLE_JS8B 1
#define JS8_ENABLE_JS8C 1 #define JS8_ENABLE_JS8C 1
#define JS8_ENABLE_JS8E 0 #define JS8_ENABLE_JS8E 1
#define JS8A_SYMBOL_SAMPLES 1920 #define JS8A_SYMBOL_SAMPLES 1920
#define JS8A_TX_SECONDS 15 #define JS8A_TX_SECONDS 15

View File

@ -4513,14 +4513,14 @@ void MainWindow::readFromStdout() //readFromStdout
// these are baseline thresholds for valid frames // these are baseline thresholds for valid frames
switch(decodedtext.submode()){ switch(decodedtext.submode()){
case Varicode::JS8CallNormal: case Varicode::JS8CallNormal:
bValidFrame = snr >= -24; bValidFrame = snr >= -24; break;
case Varicode::JS8CallFast: case Varicode::JS8CallFast:
bValidFrame = snr >= -22; bValidFrame = snr >= -22; break;
case Varicode::JS8CallTurbo: case Varicode::JS8CallTurbo:
bValidFrame = snr >= -20; bValidFrame = snr >= -20; break;
#if JS8E_IS_ULTRA #if JS8E_IS_ULTRA
case Varicode::JS8CallUltraSlow: case Varicode::JS8CallUltraSlow:
bValidFrame = snr >= -18; bValidFrame = snr >= -18; break;
break; break;
#endif #endif
} }