From: asterix Date: Thu, 5 Feb 2009 18:22:12 +0000 (+0000) Subject: Add wizard info. X-Git-Tag: 2.1.0~403 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=2d4ed0db91173bdb604fa50892409ed6c81db6a2;p=bertos.git Add wizard info. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2279 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/bertos/cfg/cfg_dc_motor.h b/bertos/cfg/cfg_dc_motor.h index 3475059d..b04359e9 100644 --- a/bertos/cfg/cfg_dc_motor.h +++ b/bertos/cfg/cfg_dc_motor.h @@ -40,7 +40,11 @@ #ifndef CFG_DC_MOTOR_H #define CFG_DC_MOTOR_H -//DC motor configuration +/** + * Number of the DC motors to mange. + * + * $WIZARD = { "type" : "enum" } + */ #define CONFIG_NUM_DC_MOTOR 1 #endif /* CFG_DC_MOTOR_H */ diff --git a/bertos/drv/dc_motor.h b/bertos/drv/dc_motor.h index 1a50d48a..71525f24 100644 --- a/bertos/drv/dc_motor.h +++ b/bertos/drv/dc_motor.h @@ -35,6 +35,12 @@ * \version $Id$ * * \author Daniele Basile + * + * $WIZARD_MODULE = { + * "name" : "dc_motor", + * "depends" : [pwm, pid_control], + * "configuration" : "bertos/cfg/cfg_dc_motor.h" + * } */ #ifndef DRV_DC_MOTOR_H