From 488f07772938f68dd0498176bad783653dab0c48 Mon Sep 17 00:00:00 2001 From: Egor Date: Thu, 9 Jan 2025 12:22:23 -0800 Subject: [PATCH 1/2] fix 120 max bin --- src/main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.cpp b/src/main.cpp index 6877de7..47b01f8 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -433,6 +433,7 @@ void osdProcess() max_step_range = max_bin; // Store RSSI value for RSSI Method #ifdef METHOD_RSSI + max_step_range = 120; if (result[max_bin] != 0) { max_step_range = result[max_bin]; From c8561407f7be45fa5545a495ae5ddfc1edcc2245 Mon Sep 17 00:00:00 2001 From: Egor Date: Thu, 9 Jan 2025 12:25:45 -0800 Subject: [PATCH 2/2] RSSI value min max --- src/main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.cpp b/src/main.cpp index 47b01f8..f283167 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -433,6 +433,7 @@ void osdProcess() max_step_range = max_bin; // Store RSSI value for RSSI Method #ifdef METHOD_RSSI + // set to the min RSSI value max_step_range = 120; if (result[max_bin] != 0) {