mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-18 04:53:34 +08:00
Added missing conditional compilation control for FMUV4
This commit is contained in:
committed by
Lorenz Meier
parent
6df5aab064
commit
731daec744
@@ -291,7 +291,7 @@ MEASAirspeedSim::cycle()
|
||||
void
|
||||
MEASAirspeedSim::voltage_correction(float &diff_press_pa, float &temperature)
|
||||
{
|
||||
#ifdef CONFIG_ARCH_BOARD_PX4FMU_V2
|
||||
#if defined(CONFIG_ARCH_BOARD_PX4FMU_V2) || defined(CONFIG_ARCH_BOARD_PX4FMU_V4)
|
||||
|
||||
if (_t_system_power == -1) {
|
||||
_t_system_power = orb_subscribe(ORB_ID(system_power));
|
||||
|
||||
Reference in New Issue
Block a user