X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fcfg%2Fcfg_pwm.h;h=68d62837c8ee73db35a3bf91e60acc068f465558;hb=db72c76f4275be952460cad175a905357c5834c3;hp=e7ce27c4714ca08c447ce322e25b56dc17b7a4f7;hpb=b50c45ad2775f2b59f5b58bf2d831faafad36e92;p=bertos.git diff --git a/bertos/cfg/cfg_pwm.h b/bertos/cfg/cfg_pwm.h index e7ce27c4..68d62837 100644 --- a/bertos/cfg/cfg_pwm.h +++ b/bertos/cfg/cfg_pwm.h @@ -27,13 +27,10 @@ * the GNU General Public License. * * Copyright 2008 Develer S.r.l. (http://www.develer.com/) - * All Rights Reserved. * --> * * \brief Configuration file for PWM module. * - * \version $Id$ - * * \author Daniele Basile */ @@ -41,22 +38,27 @@ #define CFG_PWM_H /** - * Logging level definition. + * Module logging level. * - * Use 0 to log only the error messages - * Use 1 to log the error and warning messages - * Use 2 to log all messages + * $WIZ$ type = "enum" + * $WIZ$ value_list = "log_level" */ -#define PWM_LOG_LEVEL 2 +#define PWM_LOG_LEVEL LOG_LVL_INFO /** - * Set logging verbosity. + * Module logging format. * - * If verbosity is zero print short log messages. + * $WIZ$ type = "enum" + * $WIZ$ value_list = "log_format" */ -#define PWM_LOG_VERBOSITY 1 +#define PWM_LOG_FORMAT LOG_FMT_VERBOSE +/** + * Enable the OLD pwm API. + * Not recommended for new projects. + * + * $WIZ$ type = "boolean" + */ +#define CFG_PWM_ENABLE_OLD_API 1 #endif /* CFG_PWM_H */ - -