diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2014-07-01 09:52:18 +0200 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2014-07-01 09:52:18 +0200 |
commit | 45433c3711dba5c972e02e8c9263853164670a86 (patch) | |
tree | 6b7d6cadf08d819b828e8f3bf483ab83984d6812 /src/modules | |
parent | 8408993a676acd0149e880ffeded74ce9c67b9c5 (diff) | |
download | px4-firmware-45433c3711dba5c972e02e8c9263853164670a86.tar.gz px4-firmware-45433c3711dba5c972e02e8c9263853164670a86.tar.bz2 px4-firmware-45433c3711dba5c972e02e8c9263853164670a86.zip |
Hotfix: Fix use of circuit breaker param
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/systemlib/circuit_breaker.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/systemlib/circuit_breaker.c b/src/modules/systemlib/circuit_breaker.c index b59531d69..8f697749e 100644 --- a/src/modules/systemlib/circuit_breaker.c +++ b/src/modules/systemlib/circuit_breaker.c @@ -86,7 +86,7 @@ PARAM_DEFINE_INT32(CBRK_IO_SAFETY, 0); bool circuit_breaker_enabled(const char* breaker, int32_t magic) { int32_t val; - (void)param_get(param_find(breaker), val); + (void)param_get(param_find(breaker), &val); return (val == magic); } |