Skip to content

Commit

Permalink
fix(display): Set a default mem size for built-in
Browse files Browse the repository at this point in the history
* Set a reasonable default LVGL mem pool size for our built-in
  status screen.
  • Loading branch information
petejohanson committed Jan 17, 2024
1 parent 9fe7e6d commit 4e99685
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions app/src/display/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,8 @@ endchoice
config LV_MEM_CUSTOM
default y

# config LV_Z_MEM_POOL_MIN_SIZE
# default 32

# config LV_Z_MEM_POOL_MAX_SIZE
# default 8192
config LV_Z_MEM_POOL_SIZE
default 4096 if ZMK_DISPLAY_STATUS_SCREEN_BUILT_IN

choice ZMK_DISPLAY_STATUS_SCREEN
prompt "Default status screen for displays"
Expand Down

0 comments on commit 4e99685

Please sign in to comment.