mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-01-29 08:40:57 +00:00
fix(core): increase work buffer size for jpeg decompression
[no changelog]
This commit is contained in:
parent
d8cad1f4a9
commit
0fb55553b7
@ -41,7 +41,9 @@
|
||||
// 3100 is needed according to tjpgd docs,
|
||||
// 256 because we need non overlapping memory in rust
|
||||
// 6 << 10 is for huffman decoding table
|
||||
#define JPEG_WORK_SIZE (3100 + 256 + (6 << 10))
|
||||
// 1000 bytes reserve, as we discovered that we are running out of memory
|
||||
// sometimes
|
||||
#define JPEG_WORK_SIZE (3100 + 256 + (6 << 10) + 1000)
|
||||
|
||||
#if defined BOOTLOADER
|
||||
#define BUFFER_SECTION __attribute__((section(".buf")))
|
||||
|
Loading…
Reference in New Issue
Block a user