mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-19 23:43:34 +08:00
move systemlib/circuit_breaker.cpp to standalone lib
This commit is contained in:
committed by
Lorenz Meier
parent
7eeba7b8ca
commit
387bc81f26
@@ -37,5 +37,6 @@ px4_add_module(
|
||||
SRCS
|
||||
tone_alarm.cpp
|
||||
DEPENDS
|
||||
circuit_breaker
|
||||
tunes
|
||||
)
|
||||
@@ -113,7 +113,7 @@
|
||||
#include "kinetis_tpm.h"
|
||||
|
||||
#include <systemlib/err.h>
|
||||
#include <systemlib/circuit_breaker.h>
|
||||
#include <circuit_breaker/circuit_breaker.h>
|
||||
|
||||
#define CAT3_(A, B, C) A##B##C
|
||||
#define CAT3(A, B, C) CAT3_(A, B, C)
|
||||
|
||||
@@ -38,5 +38,6 @@ px4_add_module(
|
||||
SRCS
|
||||
fmu.cpp
|
||||
DEPENDS
|
||||
circuit_breaker
|
||||
rc
|
||||
)
|
||||
|
||||
@@ -56,7 +56,7 @@
|
||||
#include <px4_getopt.h>
|
||||
#include <px4_log.h>
|
||||
#include <px4_module.h>
|
||||
#include <systemlib/circuit_breaker.h>
|
||||
#include <circuit_breaker/circuit_breaker.h>
|
||||
#include <lib/mixer/mixer.h>
|
||||
#include <parameters/param.h>
|
||||
#include <perf/perf_counter.h>
|
||||
|
||||
@@ -42,6 +42,7 @@ px4_add_module(
|
||||
px4io_serial_f4.cpp
|
||||
px4io_serial_f7.cpp
|
||||
DEPENDS
|
||||
circuit_breaker
|
||||
)
|
||||
|
||||
# include the px4io binary in ROMFS
|
||||
|
||||
@@ -71,7 +71,7 @@
|
||||
#include <perf/perf_counter.h>
|
||||
#include <systemlib/err.h>
|
||||
#include <parameters/param.h>
|
||||
#include <systemlib/circuit_breaker.h>
|
||||
#include <circuit_breaker/circuit_breaker.h>
|
||||
#include <systemlib/mavlink_log.h>
|
||||
|
||||
#include <uORB/topics/actuator_controls.h>
|
||||
|
||||
@@ -37,5 +37,6 @@ px4_add_module(
|
||||
SRCS
|
||||
tone_alarm.cpp
|
||||
DEPENDS
|
||||
circuit_breaker
|
||||
tunes
|
||||
)
|
||||
@@ -116,7 +116,7 @@
|
||||
#include <sam_tc.h>
|
||||
|
||||
#include <systemlib/err.h>
|
||||
#include <systemlib/circuit_breaker.h>
|
||||
#include <circuit_breaker/circuit_breaker.h>
|
||||
|
||||
/* Check that tone alarm and HRT timers are different */
|
||||
#if defined(TONE_ALARM_CHANNEL) && defined(HRT_TIMER_CHANNEL)
|
||||
|
||||
@@ -37,5 +37,6 @@ px4_add_module(
|
||||
SRCS
|
||||
tone_alarm.cpp
|
||||
DEPENDS
|
||||
circuit_breaker
|
||||
tunes
|
||||
)
|
||||
@@ -109,7 +109,7 @@
|
||||
#include <drivers/drv_hrt.h>
|
||||
|
||||
#include <systemlib/err.h>
|
||||
#include <systemlib/circuit_breaker.h>
|
||||
#include <circuit_breaker/circuit_breaker.h>
|
||||
|
||||
#include <px4_workqueue.h>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user