mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-01 00:40:34 +08:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user