diff --git a/conf/airframes/examples/lisa_asctec.xml b/conf/airframes/examples/lisa_asctec.xml index 05ef0964dc..891aa2a501 100644 --- a/conf/airframes/examples/lisa_asctec.xml +++ b/conf/airframes/examples/lisa_asctec.xml @@ -196,6 +196,7 @@ + diff --git a/sw/airborne/subsystems/actuators/actuators_asctec.c b/sw/airborne/subsystems/actuators/actuators_asctec.c index d8ed2ce1c5..3b509e65f5 100644 --- a/sw/airborne/subsystems/actuators/actuators_asctec.c +++ b/sw/airborne/subsystems/actuators/actuators_asctec.c @@ -142,9 +142,11 @@ void actuators_asctec_set(bool_t motors_on) { #if defined ACTUATORS_START_DELAY && ! defined SITL if (!actuators_delay_done) { if (SysTimeTimer(actuators_delay_time) < USEC_OF_SEC(ACTUATORS_START_DELAY)) { +#ifdef USE_I2C_ACTUATORS_REBOOT_HACK //Lisa-L with Asctech v2 motors only start after reflashing when a bus error was sensed on stm32-i2c. //multiple re-init solves the problem. i2c1_init(); +#endif return; } else actuators_delay_done = TRUE;