X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fcfg%2Fcfg_stepper.h;h=590e3c574dd93e4529d067eaf0af163c06bcb9ad;hb=515886be3106584a6d695d4b5453730121b91f74;hp=1efeef26d83b929669e4a0baf64a2ccb928d65cf;hpb=5ee0faa31c29bde72eebfc2646b7925e20e3e648;p=bertos.git diff --git a/bertos/cfg/cfg_stepper.h b/bertos/cfg/cfg_stepper.h index 1efeef26..590e3c57 100644 --- a/bertos/cfg/cfg_stepper.h +++ b/bertos/cfg/cfg_stepper.h @@ -27,35 +27,23 @@ * 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 */ #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 +/// Module logging level. +#define STEPPER_LOG_LEVEL LOG_LVL_INFO +/// Module logging format. +#define STEPPER_LOG_FORMAT LOG_FMT_TERSE /// Max number of the stepper motor. #define CONFIG_NUM_STEPPER_MOTORS 6 @@ -64,4 +52,3 @@ #define CONFIG_TC_STEPPER_MAX_NUM 6 #endif /* CFG_STEPPER_H */ -