Merge pull request #944 from ultrasystem/patch-1

Fix error on some compiler
This commit is contained in:
Lorenz Meier 2014-05-14 07:29:25 -07:00
commit d3398270e1
1 changed files with 1 additions and 1 deletions

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;