7 Commits

Author SHA1 Message Date
Daniel Agar
64ed96d81a clang-tidy readability-simplify-boolean-expr 2017-06-02 19:35:18 -04:00
David Sidrane
cb5e384105 Ran Astyle 2015-12-04 22:34:47 +01:00
Andrew Tridgell
d290487382 circuit_breaker: prevent param fetch failure from disabling safety switch
if the param get failed then an uninitialised stack variable was used
for the safety disable on boot. In ArduPilot that value happened to
equal the correct magic due to stack passing from caller. This forced
safety off on boot
2015-12-04 21:22:25 +01:00
Mark Charlebois
a0d548db9a Changed circuit_breaker to not use px4.h
The inclusion of px4.h requires C++ features not supported in the
Hexagon toolchain. The features are not required so the required
headers are used instead.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-05-07 11:35:01 -07:00
Daniel Agar
c2abb0f82a fix code style if trivial one line difference 2015-03-19 23:49:36 +01:00
Thomas Gubler
4402d7106b improve and fix multiplatform param by name macro 2014-12-17 16:31:40 +01:00
Thomas Gubler
0a1e94d504 circuit breaker: move to cpp, all platforms use the same file 2014-12-17 15:50:01 +01:00