- 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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user