Add cfg file and wizard info.
[bertos.git] / bertos / drv / dc_motor.h
index 9aac6548e3235461d1731c3363c1a59a91f21ead..75b2246f31180901ba206ce44729dfd409ce5286 100644 (file)
  * \version $Id$
  *
  * \author Daniele Basile <asterix@develer.com>
+ *
+ * $WIZARD_MODULE = {
+ * "name" : "dc_motor",
+ * "depends" : ["pwm", "pid_control"],
+ * "configuration" : "bertos/cfg/cfg_dc_motor.h"
+ * }
  */
 
 #ifndef DRV_DC_MOTOR_H
 #define DRV_DC_MOTOR_H
 
-#include "hw_dc_motor.h"
+#include "hw/hw_dc_motor.h"
+
+#include "cfg/cfg_dc_motor.h"
+#include <cfg/macros.h>
 
 #include <algo/pid_control.h>
 
@@ -48,9 +57,6 @@
 #include <drv/timer.h>
 #include <drv/adc.h>
 
-#include <cfg/macros.h>
-
-#include "appconfig.h"
 
 /**
  * Define status bit for DC motor device.