From 7386dc91f68f8e038db2ab448704de97c03af99a Mon Sep 17 00:00:00 2001 From: Egor Shitikov Date: Wed, 21 Aug 2024 18:05:58 -0700 Subject: [PATCH] filter noize --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index d93f038..a9a73ef 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -873,7 +873,7 @@ void loop(void) if (result[y] > 0 && samples > 1) { // do not process 'first' and 'last' row to avoid out of index - // access + // access. if ((y > 0) && (y != (RADIOLIB_SX126X_SPECTRAL_SCAN_RES_SIZE - 3))) { if (((result[y + 1] != 0) && (result[y + 2] != 0)) ||