Skip to content

Commit

Permalink
Remove #ifdef code per PR comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
tmiw committed Dec 5, 2024
1 parent 864640e commit 2c3f6a2
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/pipeline/TxRxThread.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -267,15 +267,6 @@ void TxRxThread::initializePipeline_()
// TX attenuation step
auto txAttenuationStep = new LevelAdjustStep(outputSampleRate_, []() {
double dbLoss = g_txLevel / 10.0;

#if 0
if (freedvInterface.getTxMode() == FREEDV_MODE_RADE)
{
// Attenuate by 4 dB as there's no BPF; anything louder distorts the signal
dbLoss -= 4.0;
}
#endif // 0

double scaleFactor = exp(dbLoss/20.0 * log(10.0));
return scaleFactor;
});
Expand Down

0 comments on commit 2c3f6a2

Please sign in to comment.