From 1380f0beaf5fa69b2cfcb6af257812e2ccab9708 Mon Sep 17 00:00:00 2001 From: haitomatic Date: Mon, 2 Dec 2024 10:17:46 +0000 Subject: [PATCH] Update --- src/drivers/pwm_esc/pwm_esc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/drivers/pwm_esc/pwm_esc.cpp b/src/drivers/pwm_esc/pwm_esc.cpp index 1b5b874e238a..ad5549bc7787 100644 --- a/src/drivers/pwm_esc/pwm_esc.cpp +++ b/src/drivers/pwm_esc/pwm_esc.cpp @@ -355,7 +355,7 @@ PWMESC::updateOutputs(bool stop_motors, uint16_t outputs[MAX_ACTUATORS], unsigne actuator_outputs_s actuator_outputs_sim{}; if (num_control_groups_updated > 0) { - actuator_outputs.noutputs = num_outputs; + actuator_outputs_sim.noutputs = num_outputs; for (int i = 0; i < (int)num_outputs; i++) { uint16_t disarmed = _mixing_output.disarmedValue(i);