1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-17 13:19:25 -04:00

Use doubles for all power calculations

This commit is contained in:
f4exb
2017-05-16 23:39:49 +02:00
parent dafad384c8
commit 579c05cfe5
31 changed files with 72 additions and 72 deletions
+1 -1
View File
@@ -638,7 +638,7 @@ void SSBModGUI::enterEvent(QEvent*)
void SSBModGUI::tick()
{
Real powDb = CalcDb::dbPower(m_ssbMod->getMagSq());
double powDb = CalcDb::dbPower(m_ssbMod->getMagSq());
m_channelPowerDbAvg.feed(powDb);
ui->channelPower->setText(QString::number(m_channelPowerDbAvg.average(), 'f', 1));