kopia lustrzana https://github.com/UU5JPP/Wolf-LITE
master
rodzic
0bdcee8844
commit
6177a1e350
|
@ -308,7 +308,7 @@ void TRX_DoAutoGain(void)
|
|||
int32_t max_amplitude = abs(TRX_ADC_MAXAMPLITUDE);
|
||||
if (abs(TRX_ADC_MINAMPLITUDE) > max_amplitude)
|
||||
max_amplitude = abs(TRX_ADC_MINAMPLITUDE);
|
||||
sendToDebug_int32(max_amplitude,false);
|
||||
//sendToDebug_int32(max_amplitude,false);
|
||||
float32_t new_att_val = TRX.ATT_DB;
|
||||
if (max_amplitude > (AUTOGAINER_TAGET + AUTOGAINER_HYSTERESIS) && new_att_val < 31.5f)
|
||||
new_att_val += 0.5f;
|
||||
|
@ -331,7 +331,7 @@ sendToDebug_int32(max_amplitude,false);
|
|||
TRX.BANDS_SAVED_SETTINGS[band].ATT_DB = TRX.ATT_DB;
|
||||
TRX.BANDS_SAVED_SETTINGS[band].ADC_Driver = TRX.ADC_Driver;
|
||||
}
|
||||
sendToDebug_int32(new_att_val,false);
|
||||
// sendToDebug_int32(new_att_val,false);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -4191,7 +4191,7 @@
|
|||
<OPTFL>
|
||||
<tvExp>1</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<IsCurrentTarget>0</IsCurrentTarget>
|
||||
<IsCurrentTarget>1</IsCurrentTarget>
|
||||
</OPTFL>
|
||||
<CpuCode>18</CpuCode>
|
||||
<DebugOpt>
|
||||
|
@ -6073,7 +6073,7 @@
|
|||
<OPTFL>
|
||||
<tvExp>1</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<IsCurrentTarget>1</IsCurrentTarget>
|
||||
<IsCurrentTarget>0</IsCurrentTarget>
|
||||
</OPTFL>
|
||||
<CpuCode>18</CpuCode>
|
||||
<DebugOpt>
|
||||
|
|
Ładowanie…
Reference in New Issue