Closed andreyk72 closed 2 years ago
It's probably worth adding a dis-armed flag so that it can't be used while motors are armed or in air
It's probably worth adding a dis-armed flag so that it can't be used while motors are armed or in air
the function is gated by (flags.arm_state == 0) || flags.failsafe || (state.throttle < 0.001f)
on the calling side.
so that aspect should be fine.
ultimately i would really like to see all control code removed from the dshot driver. its a driver it should not concern itself with things like failsafe or aux channels.
for now, i will merge this to the develop branch.
Allow to switch motor beep via aux channel AUX_BUZZER_ENABLE. This is useful when flying outdoor on low weight aircrafts where installing separate buzzer is not desirable. Works with DSHOT protocol only.