diff --git a/graphics/Kconfig b/graphics/Kconfig index 4f81aab3f8..40344d6ef7 100644 --- a/graphics/Kconfig +++ b/graphics/Kconfig @@ -57,7 +57,7 @@ config NX_WRITEONLY defined. config NX_UPDATE - bool "Display update hooks' + bool "Display update hooks" default n ---help--- Enable a callout to inform some external module that the display has diff --git a/graphics/nxbe/nxbe_filltrapezoid.c b/graphics/nxbe/nxbe_filltrapezoid.c index eb369d75cf..cf3b3096a3 100644 --- a/graphics/nxbe/nxbe_filltrapezoid.c +++ b/graphics/nxbe/nxbe_filltrapezoid.c @@ -49,11 +49,11 @@ ****************************************************************************/ #ifndef MIN -# define MIN(a,b) (((a) < (b)) ? (a) : (b) +# define MIN(a,b) (((a) < (b)) ? (a) : (b)) #endif #ifndef MAX -# define MAX(a,b) (((a) > (b)) ? (a) : (b) +# define MAX(a,b) (((a) > (b)) ? (a) : (b)) #endif /**************************************************************************** @@ -86,7 +86,7 @@ static void nxbe_clipfilltrapezoid(FAR struct nxbe_clipops_s *cops, { struct nxbe_filltrap_s *fillinfo = (struct nxbe_filltrap_s *)cops; #ifdef CONFIG_NX_UPDATE - FAR const struct nxgl_rect_s *update; + struct nxgl_rect_s update; #endif /* Draw the trapezond */ diff --git a/graphics/nxbe/nxbe_move.c b/graphics/nxbe/nxbe_move.c index 32360866c5..9bf56fd1e9 100644 --- a/graphics/nxbe/nxbe_move.c +++ b/graphics/nxbe/nxbe_move.c @@ -79,7 +79,7 @@ static void nxbe_clipmovesrc(FAR struct nxbe_clipops_s *cops, struct nxbe_move_s *info = (struct nxbe_move_s *)cops; struct nxgl_point_s offset; #ifdef CONFIG_NX_UPDATE - FAR const struct nxgl_rect_s *update; + struct nxgl_rect_s update; #endif if (info->offset.x != 0 || info->offset.y != 0)