diff --git a/conf/airframes/ENAC/fixed-wing/funjet2.xml b/conf/airframes/ENAC/fixed-wing/funjet2.xml index 5ac71dd39b..590d0f132c 100644 --- a/conf/airframes/ENAC/fixed-wing/funjet2.xml +++ b/conf/airframes/ENAC/fixed-wing/funjet2.xml @@ -19,13 +19,6 @@ - - @@ -35,22 +28,21 @@ - - - + - + + - - - + + + @@ -60,13 +52,12 @@ - - + @@ -122,12 +113,14 @@ -
- - - - - + + + + +
+ + +
diff --git a/sw/airborne/subsystems/sensors/infrared_i2c.c b/sw/airborne/subsystems/sensors/infrared_i2c.c index 40df90406d..2067fd0a2e 100644 --- a/sw/airborne/subsystems/sensors/infrared_i2c.c +++ b/sw/airborne/subsystems/sensors/infrared_i2c.c @@ -121,10 +121,7 @@ void infrared_i2c_update( void ) { ir_i2c_data_ver_available = FALSE; } } -#else /* SITL || HITL */ -/** ir_roll and ir_pitch set by simulator in sim_ir.c */ - estimator_update_state_infrared(); -#endif +#endif /* SITL || HITL */ } #define FilterIR(_ir_prev, _ir_next) (((1<