From 2795f8c735cf9951306f6535e1c5c8a5342f6c3d Mon Sep 17 00:00:00 2001 From: "Jamie C. Driver" Date: Mon, 11 Mar 2024 14:37:53 +0000 Subject: [PATCH] tests: slight reduction in memory use of pathological bcur test --- main/selfcheck.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/selfcheck.c b/main/selfcheck.c index 2d3531c9..85676699 100644 --- a/main/selfcheck.c +++ b/main/selfcheck.c @@ -814,7 +814,7 @@ static bool test_bcur_icons(void) static bool test_bcur_large_payload_many_icons(void) { const int qr_version = 4; // smallest supported - const int payload_len = 24 * 1024; // 24k, should result ~1000 fragments + const int payload_len = 22 * 1024; // 22k, should result ~1000 fragments uint8_t* payload = JADE_MALLOC_PREFER_SPIRAM(payload_len); Icon* icons = NULL; size_t num_icons = 0;