fix spectrum auto adjust freq change step when entered spectrum for first time

This commit is contained in:
Nunu 2024-01-31 12:24:51 +01:00
parent 8333de6dc8
commit 7e96608fbe

View File

@ -1481,8 +1481,6 @@ void APP_RunSpectrum() {
BackupRegisters();
AutoAdjustFreqChangeStep();
ResetInterrupts();
// turn of GREEN LED if spectrum was started during active RX
@ -1504,6 +1502,8 @@ void APP_RunSpectrum() {
BK4819_SetFilterBandwidth(settings.listenBw = BK4819_FILTER_BW_WIDE, false);
#endif
AutoAdjustFreqChangeStep();
RelaunchScan();
for (int i = 0; i < 128; ++i) {