Fix error on some compiler

This commit is contained in:
Liio Chen
2014-05-14 22:18:36 +08:00
parent 0641786b6a
commit 1a1f7ff33b
+1 -1
View File
@@ -53,7 +53,7 @@
#define SIGMA 0.000001f
__EXPORT void pid_init(PID_t *pid, uint8_t mode, float dt_min)
__EXPORT void pid_init(PID_t *pid, pid_mode_t mode, float dt_min)
{
pid->mode = mode;
pid->dt_min = dt_min;