Merge branch 'main' into pr-boards_serial_rc

This commit is contained in:
Alex Klimaj
2025-02-18 12:27:40 -07:00
committed by GitHub
1283 changed files with 85038 additions and 14343 deletions
+6 -1
View File
@@ -107,8 +107,13 @@ __EXPORT void board_on_reset(int status)
px4_arch_configgpio(PX4_MAKE_GPIO_INPUT(io_timer_channel_get_as_pwm_input(i)));
}
/*
* On resets invoked from system (not boot) ensure we establish a low
* output state on PWM pins to disarm the ESC and prevent the reset from potentially
* spinning up the motors.
*/
if (status >= 0) {
up_mdelay(6);
up_mdelay(100);
}
}