X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fcfg%2Fcfg_stepper.h;h=2925fb664783085cdff38e551f94ffa0e7b4597b;hb=53a85c63e98a7ec7456db33b665484df3da33fdb;hp=1efeef26d83b929669e4a0baf64a2ccb928d65cf;hpb=57b276690a570cd37b2f2448249e1558cafbd369;p=bertos.git diff --git a/bertos/cfg/cfg_stepper.h b/bertos/cfg/cfg_stepper.h index 1efeef26..2925fb66 100644 --- a/bertos/cfg/cfg_stepper.h +++ b/bertos/cfg/cfg_stepper.h @@ -27,13 +27,11 @@ * the GNU General Public License. * * Copyright 2008 Develer S.r.l. (http://www.develer.com/) - * All Rights Reserved. + * * --> * * \brief Configuration file for stepper motor module. * - * \version $Id$ - * * \author Daniele Basile */ @@ -41,27 +39,31 @@ #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 + * Module logging level. + * $WIZ$ type = "enum" + * $WIZ$ value_list = "log_level" */ -#define STEPPER_LOG_LEVEL 2 +#define STEPPER_LOG_LEVEL LOG_LVL_INFO /** - * Set logging verbosity. - * - * If verbosity is zero print short log messages. + * Module logging format. + * $WIZ$ type = "enum" + * $WIZ$ value_list = "log_format" */ -#define STEPPER_LOG_VERBOSITY 0 - +#define STEPPER_LOG_FORMAT LOG_FMT_TERSE -/// Max number of the stepper motor. +/** + * Max number of the stepper motor. + * $WIZ$ type = "int" + * $WIZ$ min = 1 + */ #define CONFIG_NUM_STEPPER_MOTORS 6 -/// Max number of the timer usable on target to drive stepper motor. +/** + * Max number of the timer usable on target to drive stepper motor. + * $WIZ$ type = "int" + * $WIZ$ min = 1 + */ #define CONFIG_TC_STEPPER_MAX_NUM 6 #endif /* CFG_STEPPER_H */ -