X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fcfg%2Fcfg_dc_motor.h;h=409badda2e7046072af4e09ad97a13ed7fa0a803;hb=0c71afa65077b10d069192c1d36c0df1440e1b97;hp=0f9d1b14cefa4d4a190cca4c53000023ca7d27bc;hpb=2237435058d6271d2d41a0533e5d36874146968b;p=bertos.git diff --git a/bertos/cfg/cfg_dc_motor.h b/bertos/cfg/cfg_dc_motor.h index 0f9d1b14..409badda 100644 --- a/bertos/cfg/cfg_dc_motor.h +++ b/bertos/cfg/cfg_dc_motor.h @@ -44,8 +44,24 @@ * Number of the DC motors to manage. * * $WIZ$ type = "int" - * $WIZ$ min = "1" + * $WIZ$ min = 1 */ -#define CONFIG_NUM_DC_MOTOR 1 +#define CONFIG_NUM_DC_MOTOR 4 + +/** + * Module logging level. + * + * $WIZ$ type = "enum" + * $WIZ$ value_list = "log_level" + */ +#define DC_MOTOR_LOG_LEVEL LOG_LVL_WARN + +/** + * Module logging format. + * + * $WIZ$ type = "enum" + * $WIZ$ value_list = "log_format" + */ +#define DC_MOTOR_LOG_FORMAT LOG_FMT_TERSE #endif /* CFG_DC_MOTOR_H */