You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by ac...@apache.org on 2020/04/15 14:38:36 UTC

[incubator-nuttx-apps] 04/15: apps/graphics/littlevgl: Update include guard macro of lv_conf.h

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 6f2ed3dfd47eeff40c889cadfb2cb7cb8dd85dc3
Author: Qi Huang <hu...@xiaomi.com>
AuthorDate: Tue Apr 7 01:07:09 2020 +0000

    apps/graphics/littlevgl: Update include guard macro of lv_conf.h
    
    Signed-off-by: Qi Huang <hu...@xiaomi.com>
    Change-Id: I467354c5a26407eee6d1bc780f6accd091e9b3d2
---
 graphics/littlevgl/lv_conf.h | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/graphics/littlevgl/lv_conf.h b/graphics/littlevgl/lv_conf.h
index 911b456..752de81 100644
--- a/graphics/littlevgl/lv_conf.h
+++ b/graphics/littlevgl/lv_conf.h
@@ -38,8 +38,8 @@
  * COPY THIS FILE AS `lv_conf.h` NEXT TO the `lvgl` FOLDER
  */
 
-#ifndef LV_CONF_H
-#define LV_CONF_H
+#ifndef __APPS_GRAPHICS_LITTLEVGL_LV_CONF_H
+#define __APPS_GRAPHICS_LITTLEVGL_LV_CONF_H
 /* clang-format off */
 
 #include <nuttx/config.h>
@@ -809,9 +809,7 @@ typedef void * lv_obj_user_data_t;
 #  define _CRT_SECURE_NO_WARNINGS
 #endif
 
-/*--END OF LV_CONF_H--*/
-
 /*Be sure every define has a default value*/
 #include "lvgl/src/lv_conf_checker.h"
 
-#endif /*LV_CONF_H*/
+#endif /*__APPS_GRAPHICS_LITTLEVGL_LV_CONF_H*/