Update references to LV_DISPLAY_WIDTH
This commit is contained in:
parent
6a451cacf7
commit
55c314b685
9 changed files with 24 additions and 25 deletions
|
@ -38,16 +38,16 @@ extern "C" {
|
|||
|
||||
/*GetMaxX Macro*/
|
||||
#if CONFIG_LV_DISPLAY_ORIENTATION_LANDSCAPE
|
||||
#define GetMaxX() (CONFIG_LV_DISPLAY_WIDTH - 1)
|
||||
#define GetMaxX() (LV_HOR_RES_MAX - 1)
|
||||
#else
|
||||
#define GetMaxX() (CONFIG_LV_DISPLAY_HEIGHT - 1)
|
||||
#define GetMaxX() (LV_VER_RES_MAX - 1)
|
||||
#endif
|
||||
|
||||
/*GetMaxY Macro*/
|
||||
#if CONFIG_LV_DISPLAY_ORIENTATION_LANDSCAPE
|
||||
#define GetMaxY() (CONFIG_LV_DISPLAY_HEIGHT - 1)
|
||||
#define GetMaxY() (LV_VER_RES_MAX - 1)
|
||||
#else
|
||||
#define GetMaxY() (CONFIG_LV_DISPLAY_WIDTH - 1)
|
||||
#define GetMaxY() (LV_HOR_RES_MAX - 1)
|
||||
#endif
|
||||
|
||||
#ifndef CONCAT3
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue