diff options
author | Thomas Gubler <thomasgubler@gmail.com> | 2014-12-16 08:24:51 +0100 |
---|---|---|
committer | Thomas Gubler <thomasgubler@gmail.com> | 2014-12-16 08:24:51 +0100 |
commit | 9520983e08397c453af735d0ff0736cc007c2c45 (patch) | |
tree | 171df31a96bd6863c5dfd94242274177f9413dd2 /src/modules/systemlib/circuit_breaker.h | |
parent | 9980e4482146333340cc105b560bdbd26acb999f (diff) | |
download | px4-firmware-9520983e08397c453af735d0ff0736cc007c2c45.tar.gz px4-firmware-9520983e08397c453af735d0ff0736cc007c2c45.tar.bz2 px4-firmware-9520983e08397c453af735d0ff0736cc007c2c45.zip |
lots' of header juggling and small changes to make mc att control compile for NuttX and ROS
Diffstat (limited to 'src/modules/systemlib/circuit_breaker.h')
-rw-r--r-- | src/modules/systemlib/circuit_breaker.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/modules/systemlib/circuit_breaker.h b/src/modules/systemlib/circuit_breaker.h index b3431722f..012d8cb61 100644 --- a/src/modules/systemlib/circuit_breaker.h +++ b/src/modules/systemlib/circuit_breaker.h @@ -61,8 +61,14 @@ __BEGIN_DECLS +#ifdef __cplusplus +extern "C" { +#endif +__EXPORT bool circuit_breaker_enabled(const char* breaker, int32_t magic); +#ifdef __cplusplus +} +#endif __EXPORT bool circuit_breaker_enabled(const char* breaker, int32_t magic); - __END_DECLS #endif /* CIRCUIT_BREAKER_H_ */ |