examples/lvgldemo: Fix nxstyle
Signed-off-by: Qi Huang <huangqi3@xiaomi.com>
This commit is contained in:
parent
a749b42164
commit
771811c1d7
@ -64,4 +64,4 @@ void fbdev_map(int32_t x1, int32_t y1, int32_t x2, int32_t y2,
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /*__APPS_EXAMPLES_LVGLDEMO_FBDEV_H */
|
||||
#endif /* __APPS_EXAMPLES_LVGLDEMO_FBDEV_H */
|
||||
|
@ -446,7 +446,9 @@ void lv_test_theme_1(lv_theme_t * th)
|
||||
{
|
||||
lv_theme_set_current(th);
|
||||
|
||||
/* If `LV_THEME_LIVE_UPDATE 1` `th` is not used directly so get the real theme after set */
|
||||
/* If `LV_THEME_LIVE_UPDATE 1` `th` is not used directly
|
||||
* so get the real theme after set
|
||||
*/
|
||||
|
||||
th = lv_theme_get_current();
|
||||
FAR lv_obj_t * scr = lv_cont_create(NULL, NULL);
|
||||
|
@ -61,8 +61,10 @@
|
||||
|
||||
/* Should we perform board-specific driver initialization? There are two
|
||||
* ways that board initialization can occur: 1) automatically via
|
||||
* board_late_initialize() during bootup if CONFIG_BOARD_LATE_INITIALIZE, or 2)
|
||||
* via a call to boardctl() if the interface is enabled (CONFIG_LIB_BOARDCTL=y).
|
||||
* board_late_initialize() during bootupif CONFIG_BOARD_LATE_INITIALIZE
|
||||
* or 2).
|
||||
* via a call to boardctl() if the interface is enabled
|
||||
* (CONFIG_LIB_BOARDCTL=y).
|
||||
* If this task is running as an NSH built-in application, then that
|
||||
* initialization has probably already been performed otherwise we do it
|
||||
* here.
|
||||
@ -225,7 +227,7 @@ int main(int argc, FAR char *argv[])
|
||||
# error "No theme selected for this application"
|
||||
#endif
|
||||
|
||||
lv_test_theme_1(theme);
|
||||
lv_test_theme_1(theme);
|
||||
|
||||
#elif defined(CONFIG_EXAMPLES_LVGLDEMO_THEME_2)
|
||||
lv_test_theme_2();
|
||||
|
Loading…
x
Reference in New Issue
Block a user