Skip to content

Commit b679f2e

Browse files
Increase image cache size
1 parent 8294331 commit b679f2e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

patches/lv_conf.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
#define MICROPY_TINY_TTF 0
2424
#endif
2525
#ifndef MICROPY_CACHE_SIZE
26-
#define MICROPY_CACHE_SIZE 200 * 1024 // 24 images of 64x64 pixels (8KB)
26+
#define MICROPY_CACHE_SIZE 50 * 64 * 64 * 2 // 50 images of 64x64 pixels at 2 bytes per pixel
2727
#endif
2828
#ifndef MICROPY_COLOR_DEPTH
2929
#define MICROPY_COLOR_DEPTH 16

0 commit comments

Comments
 (0)