mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-19 03:43:33 +08:00
move baro and magnetometer data out of sensor_combined
This commit is contained in:
@@ -36,7 +36,6 @@ include_directories(${PX4_SOURCE_DIR}/mavlink/include/mavlink)
|
||||
px4_add_module(
|
||||
MODULE platforms__posix__drivers__barosim
|
||||
MAIN barosim
|
||||
COMPILE_FLAGS
|
||||
SRCS
|
||||
baro.cpp
|
||||
DEPENDS
|
||||
|
||||
@@ -139,7 +139,6 @@ BAROSIM::BAROSIM(const char *path) :
|
||||
_measure_perf(perf_alloc(PC_ELAPSED, "barosim_measure")),
|
||||
_comms_errors(perf_alloc(PC_COUNT, "barosim_comms_errors"))
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
BAROSIM::~BAROSIM()
|
||||
@@ -191,6 +190,9 @@ BAROSIM::init()
|
||||
return -ENODEV;
|
||||
}
|
||||
|
||||
/* fill report structures */
|
||||
start();
|
||||
|
||||
out:
|
||||
return ret;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user