- cleaned up from debug output
- fixed peak change mechanism git-svn-id: http://moon:8086/svn/software/trunk/projects/GnuRadio@506 b431acfa-c32f-4a4a-93f1-934dc6c82436
This commit is contained in:
@@ -87,7 +87,7 @@ namespace gr {
|
||||
// Check pair for data
|
||||
if (pmt::symbol_to_string(key) == std::string("gain"))
|
||||
{
|
||||
float gain_dB = pmt::to_float(val) - 40.f;
|
||||
float gain_dB = pmt::to_float(val) - 50.f;
|
||||
m_gain_target = std::pow(10.f, gain_dB/10);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user