From 7ae97166226fac49b2e5edd9696e9cdc9073f052 Mon Sep 17 00:00:00 2001 From: WillyJL Date: Mon, 1 Jun 2026 15:15:37 +0200 Subject: [PATCH] Sub-GHz: More minimum free heap, prevents some crashes --- applications/main/subghz/subghz_history.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/applications/main/subghz/subghz_history.c b/applications/main/subghz/subghz_history.c index be61d3526..39896ce88 100644 --- a/applications/main/subghz/subghz_history.c +++ b/applications/main/subghz/subghz_history.c @@ -6,7 +6,7 @@ #define SUBGHZ_HISTORY_MAX 65535 // uint16_t index max, ram limit below // #define SUBGHZ_HISTORY_FREE_HEAP (23624 * (1 - MIN(rpc_get_sessions_count(instance->rpc), 1U))) -#define SUBGHZ_HISTORY_FREE_HEAP (2048) +#define SUBGHZ_HISTORY_FREE_HEAP (4 * 1024) #define TAG "SubGhzHistory"