X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fcfg%2Fcfg_dc_motor.h;h=409badda2e7046072af4e09ad97a13ed7fa0a803;hb=878b65015a7cb487d7b2d750ac9ed396fb110e60;hp=d69c25b2572976d75f6ffe2046788f49301687c3;hpb=356174d97981c9c1166458db7dfa939f3202349f;p=bertos.git diff --git a/bertos/cfg/cfg_dc_motor.h b/bertos/cfg/cfg_dc_motor.h index d69c25b2..409badda 100644 --- a/bertos/cfg/cfg_dc_motor.h +++ b/bertos/cfg/cfg_dc_motor.h @@ -41,10 +41,27 @@ #define CFG_DC_MOTOR_H /** - * Number of the DC motors to mange. + * Number of the DC motors to manage. * - * $WIZARD = { "type" : "int", "min": "0" } + * $WIZ$ type = "int" + * $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 */