From 0ac7533a2366fc6bcf372cda8a54f6bf3f42762b Mon Sep 17 00:00:00 2001 From: WillyJL Date: Sun, 19 Apr 2026 23:45:31 +0200 Subject: [PATCH] Sub-GHz: Update space taken by each RPC session --- 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 0bbd72391..81ca18191 100644 --- a/applications/main/subghz/subghz_history.c +++ b/applications/main/subghz/subghz_history.c @@ -5,7 +5,7 @@ #include #define SUBGHZ_HISTORY_MAX 65535 // uint16_t index max, ram limit below -#define SUBGHZ_HISTORY_FREE_HEAP (10240 * (3 - MIN(rpc_get_sessions_count(instance->rpc), 2U))) +#define SUBGHZ_HISTORY_FREE_HEAP (23624 * (1 - MIN(rpc_get_sessions_count(instance->rpc), 1U))) #define TAG "SubGhzHistory"