Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
chore: update lv_conf_internal.h
  • Loading branch information
kisvegabor committed Nov 5, 2021
1 parent abcf566 commit 41c2dd1
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions src/lv_conf_internal.h
Expand Up @@ -168,10 +168,14 @@
/*Number of the intermediate memory buffer used during rendering and other internal processing mechanisms.
*You will see an error log message if there wasn't enough buffers. */
#ifndef LV_MEM_BUF_MAX_NUM
# ifdef CONFIG_LV_MEM_BUF_MAX_NUM
# define LV_MEM_BUF_MAX_NUM CONFIG_LV_MEM_BUF_MAX_NUM
# ifdef _LV_KCONFIG_PRESENT
# ifdef CONFIG_LV_MEM_BUF_MAX_NUM
# define LV_MEM_BUF_MAX_NUM CONFIG_LV_MEM_BUF_MAX_NUM
# else
# define LV_MEM_BUF_MAX_NUM 0
# endif
# else
# define LV_MEM_BUF_MAX_NUM 16
# define LV_MEM_BUF_MAX_NUM 16
# endif
#endif

Expand Down Expand Up @@ -613,7 +617,7 @@ e.g. "stm32f769xx.h" or "stm32f429xx.h"*/
# ifdef CONFIG_LV_USE_PERF_MONITOR_POS
# define LV_USE_PERF_MONITOR_POS CONFIG_LV_USE_PERF_MONITOR_POS
# else
# define LV_USE_PERF_MONITOR_POS LV_ALIGN_BOTTOM_RIGHT
# define LV_USE_PERF_MONITOR_POS LV_ALIGN_BOTTOM_RIGHT
# endif
#endif
#endif
Expand All @@ -632,7 +636,7 @@ e.g. "stm32f769xx.h" or "stm32f429xx.h"*/
# ifdef CONFIG_LV_USE_MEM_MONITOR_POS
# define LV_USE_MEM_MONITOR_POS CONFIG_LV_USE_MEM_MONITOR_POS
# else
# define LV_USE_MEM_MONITOR_POS LV_ALIGN_BOTTOM_LEFT
# define LV_USE_MEM_MONITOR_POS LV_ALIGN_BOTTOM_LEFT
# endif
#endif
#endif
Expand Down

2 comments on commit 41c2dd1

@embeddedt
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like the CI check for this works! 🎉

@kisvegabor
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I was curious too :)

Please sign in to comment.