Skip to content

Commit

Permalink
tests: slight reduction in memory use of pathological bcur test
Browse files Browse the repository at this point in the history
  • Loading branch information
JamieDriver committed Apr 5, 2024
1 parent b8d98c8 commit 2795f8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main/selfcheck.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 2795f8c

Please sign in to comment.