mirror of
https://github.com/apache/nuttx.git
synced 2026-05-21 13:13:08 +08:00
drivers/video: Replace error output macro to verr
Add video debug macros verr/vwarn/vinfo, and replace error output macro to verr.
This commit is contained in:
@@ -754,6 +754,24 @@
|
||||
# define mtrinfo _none
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_DEBUG_VIDEO_ERROR
|
||||
# define verr _err
|
||||
#else
|
||||
# define verr _none
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_DEBUG_VIDEO_WARN
|
||||
# define vwarn _warn
|
||||
#else
|
||||
# define vwarn _none
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_DEBUG_VIDEO_INFO
|
||||
# define vinfo _info
|
||||
#else
|
||||
# define vinfo _none
|
||||
#endif
|
||||
|
||||
/* Buffer dumping macros do not depend on varargs */
|
||||
|
||||
#ifdef CONFIG_DEBUG_ERROR
|
||||
|
||||
Reference in New Issue
Block a user