- squelch uses linear gain, no dB

- peak mamanger commands gain 0 oer 1.0



git-svn-id: http://moon:8086/svn/software/trunk/projects/GnuRadio@507 b431acfa-c32f-4a4a-93f1-934dc6c82436
This commit is contained in:
2019-05-29 14:39:54 +00:00
parent 2d656e14fc
commit 880e46bce9
2 changed files with 6 additions and 7 deletions
+1 -2
View File
@@ -87,8 +87,7 @@ namespace gr {
// Check pair for data
if (pmt::symbol_to_string(key) == std::string("gain"))
{
float gain_dB = pmt::to_float(val) - 50.f;
m_gain_target = std::pow(10.f, gain_dB/10);
m_gain_target = pmt::to_float(val);
}
}