projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove unneeded variable.
[bertos.git]
/
bertos
/
drv
/
dc_motor.h
diff --git
a/bertos/drv/dc_motor.h
b/bertos/drv/dc_motor.h
index 9aac6548e3235461d1731c3363c1a59a91f21ead..1a50d48aa8819b98e8b2f8e71c58589814793809 100644
(file)
--- a/
bertos/drv/dc_motor.h
+++ b/
bertos/drv/dc_motor.h
@@
-40,7
+40,10
@@
#ifndef DRV_DC_MOTOR_H
#define DRV_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>
#include <algo/pid_control.h>
@@
-48,9
+51,6
@@
#include <drv/timer.h>
#include <drv/adc.h>
#include <drv/timer.h>
#include <drv/adc.h>
-#include <cfg/macros.h>
-
-#include "appconfig.h"
/**
* Define status bit for DC motor device.
/**
* Define status bit for DC motor device.