mirror of
https://github.com/apache/nuttx.git
synced 2026-05-19 20:06:24 +08:00
Add a stepper generic upperhalf driver
Add a stepper A4988 lowerhalf driver
This commit is contained in:
committed by
Alan Carvalho de Assis
parent
1989749850
commit
095c32b0eb
@@ -830,6 +830,24 @@
|
||||
# define mtrinfo _none
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_DEBUG_STEPPER_ERROR
|
||||
# define stperr _err
|
||||
#else
|
||||
# define stperr _none
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_DEBUG_STEPPER_WARN
|
||||
# define stpwarn _warn
|
||||
#else
|
||||
# define stpwarn _none
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_DEBUG_STEPPER_INFO
|
||||
# define stpinfo _info
|
||||
#else
|
||||
# define stpinfo _none
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_DEBUG_VIDEO_ERROR
|
||||
# define verr _err
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user