This is an automated email from the ASF dual-hosted git repository. acassis pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git
commit 771811c1d7a49c45422fdb9052269e44cea1132e Author: Qi Huang <huang...@xiaomi.com> AuthorDate: Wed Apr 15 10:17:45 2020 +0000 examples/lvgldemo: Fix nxstyle Signed-off-by: Qi Huang <huang...@xiaomi.com> --- examples/lvgldemo/fbdev.h | 2 +- examples/lvgldemo/lv_test_theme_1.c | 4 +++- examples/lvgldemo/lvgldemo.c | 8 +++++--- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/examples/lvgldemo/fbdev.h b/examples/lvgldemo/fbdev.h index 24446d3..00d0d8a 100644 --- a/examples/lvgldemo/fbdev.h +++ b/examples/lvgldemo/fbdev.h @@ -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 */ diff --git a/examples/lvgldemo/lv_test_theme_1.c b/examples/lvgldemo/lv_test_theme_1.c index cd8fec6..63ad796 100644 --- a/examples/lvgldemo/lv_test_theme_1.c +++ b/examples/lvgldemo/lv_test_theme_1.c @@ -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); diff --git a/examples/lvgldemo/lvgldemo.c b/examples/lvgldemo/lvgldemo.c index eedc5ed..e83adb6 100644 --- a/examples/lvgldemo/lvgldemo.c +++ b/examples/lvgldemo/lvgldemo.c @@ -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();