X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fcfg%2Fcfg_stepper.h;fp=bertos%2Fcfg%2Fcfg_stepper.h;h=1efeef26d83b929669e4a0baf64a2ccb928d65cf;hb=57b276690a570cd37b2f2448249e1558cafbd369;hp=b884bfc333d0e3cf9bc576fd420f982561142e5e;hpb=d22ff0c965c5b8614485fa780044b2d68fd59c90;p=bertos.git diff --git a/bertos/cfg/cfg_stepper.h b/bertos/cfg/cfg_stepper.h index b884bfc3..1efeef26 100644 --- a/bertos/cfg/cfg_stepper.h +++ b/bertos/cfg/cfg_stepper.h @@ -40,11 +40,28 @@ #ifndef CFG_STEPPER_H #define CFG_STEPPER_H +/** + * Logging level definition. + * + * Use 0 to log only the error messages + * Use 1 to log the error and warning messages + * Use 2 to log all messages + */ +#define STEPPER_LOG_LEVEL 2 + +/** + * Set logging verbosity. + * + * If verbosity is zero print short log messages. + */ +#define STEPPER_LOG_VERBOSITY 0 + + /// Max number of the stepper motor. -#define CONFIG_NUM_STEPPER_MOTORS 1 +#define CONFIG_NUM_STEPPER_MOTORS 6 /// Max number of the timer usable on target to drive stepper motor. -#define CONFIG_TC_STEPPER_MAX_NUM 6 +#define CONFIG_TC_STEPPER_MAX_NUM 6 #endif /* CFG_STEPPER_H */