Specific the directory for all hw and cfg module. Use double quote for cfg and hw...
[bertos.git] / bertos / drv / dc_motor.h
index 9aac6548e3235461d1731c3363c1a59a91f21ead..1a50d48aa8819b98e8b2f8e71c58589814793809 100644 (file)
 #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 +51,6 @@
 #include <drv/timer.h>
 #include <drv/adc.h>
 
-#include <cfg/macros.h>
-
-#include "appconfig.h"
 
 /**
  * Define status bit for DC motor device.