From 39dbe316f5b212c0efe30aec1ede7b8428c72f02 Mon Sep 17 00:00:00 2001 From: DiSlord Date: Sat, 4 Jul 2020 15:09:01 +0300 Subject: [PATCH] revert freq cache count --- sa_core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sa_core.c b/sa_core.c index 0571db5..224df24 100644 --- a/sa_core.c +++ b/sa_core.c @@ -856,8 +856,8 @@ uint32_t peakFreq; int peakIndex; float temppeakLevel; int temppeakIndex; -static unsigned long old_freq[MAX_SI4432] = { 0, 0, 0}; -static unsigned long real_old_freq[MAX_SI4432] = { 0, 0, 0}; +static unsigned long old_freq[4] = { 0, 0, 0, 0}; +static unsigned long real_old_freq[4] = { 0, 0, 0, 0}; // volatile int t; //static uint32_t extra_vbw_step_time = 0;