mirror of
https://github.com/apache/nuttx.git
synced 2026-05-27 03:05:40 +08:00
driver/capture : add capture debug, fixed compile warning
Signed-off-by: xucheng5 <xucheng5@xiaomi.com>
This commit is contained in:
committed by
Mateusz Szafoni
parent
d5407b16f8
commit
417207678e
@@ -611,6 +611,24 @@
|
||||
# define pwminfo _none
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_DEBUG_CAPTURE_ERROR
|
||||
# define cperr _err
|
||||
#else
|
||||
# define cperr _none
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_DEBUG_CAPTURE_WARN
|
||||
# define cpwarn _warn
|
||||
#else
|
||||
# define cpwarn _none
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_DEBUG_CAPTURE_INFO
|
||||
# define cpinfo _info
|
||||
#else
|
||||
# define cpinfo _none
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_DEBUG_RC_ERROR
|
||||
# define rcerr _err
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user