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>
This commit is contained in:
Mark Charlebois
2015-05-07 11:35:01 -07:00
parent 99822038f3
commit a0d548db9a
2 changed files with 7 additions and 6 deletions
+2 -1
View File
@@ -42,7 +42,8 @@
* parameter needs to set to the key (magic).
*/
#include <px4.h>
#include <stdint.h>
#include <px4_defines.h>
#include <systemlib/circuit_breaker.h>
bool circuit_breaker_enabled(const char *breaker, int32_t magic)