diff options
author | Liio Chen <liio@qq.com> | 2014-05-14 22:18:36 +0800 |
---|---|---|
committer | Liio Chen <liio@qq.com> | 2014-05-14 22:18:36 +0800 |
commit | 1a1f7ff33bb3d50f8ecd67d56b58843ac4373fa8 (patch) | |
tree | d34822f6d274fa488ca2c89f8bfe69bd74ebe01a | |
parent | 0641786b6ad065101b21ce4ff3d4e72aec7b42b3 (diff) | |
download | px4-firmware-1a1f7ff33bb3d50f8ecd67d56b58843ac4373fa8.tar.gz px4-firmware-1a1f7ff33bb3d50f8ecd67d56b58843ac4373fa8.tar.bz2 px4-firmware-1a1f7ff33bb3d50f8ecd67d56b58843ac4373fa8.zip |
Fix error on some compiler
-rw-r--r-- | src/modules/systemlib/pid/pid.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/systemlib/pid/pid.c b/src/modules/systemlib/pid/pid.c index 6a4e9392a..45f218a5b 100644 --- a/src/modules/systemlib/pid/pid.c +++ b/src/modules/systemlib/pid/pid.c @@ -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; |