diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2013-07-04 15:48:01 +0200 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2013-07-04 15:48:01 +0200 |
commit | cefebb9699760b23b1298ee46a0d72ae22b6ecd8 (patch) | |
tree | 0e20569ba82c1af7f5c0687e2273547da6d859a0 /src/modules/systemlib/pid | |
parent | d72e9929aa7f3066c3c8c6a09df7a9690b3cdbc5 (diff) | |
download | px4-firmware-cefebb9699760b23b1298ee46a0d72ae22b6ecd8.tar.gz px4-firmware-cefebb9699760b23b1298ee46a0d72ae22b6ecd8.tar.bz2 px4-firmware-cefebb9699760b23b1298ee46a0d72ae22b6ecd8.zip |
Small improvements in system lib
Diffstat (limited to 'src/modules/systemlib/pid')
-rw-r--r-- | src/modules/systemlib/pid/pid.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/modules/systemlib/pid/pid.h b/src/modules/systemlib/pid/pid.h index 714bf988f..eca228464 100644 --- a/src/modules/systemlib/pid/pid.h +++ b/src/modules/systemlib/pid/pid.h @@ -53,6 +53,8 @@ #include <stdint.h> +__BEGIN_DECLS + /* PID_MODE_DERIVATIV_CALC calculates discrete derivative from previous error * val_dot in pid_calculate() will be ignored */ #define PID_MODE_DERIVATIV_CALC 0 @@ -87,5 +89,6 @@ __EXPORT float pid_calculate(PID_t *pid, float sp, float val, float val_dot, flo __EXPORT void pid_reset_integral(PID_t *pid); +__END_DECLS #endif /* PID_H_ */ |