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:
SPRESENSE
2021-09-15 12:06:31 +09:00
committed by Alin Jerpelea
parent a4fcd654a4
commit ebd736240e
4 changed files with 80 additions and 67 deletions
+18
View File
@@ -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