Send motor data and then immediately decode prior telemetry data for bitbanged DSHOT...
commite8126dd6ddaa829fb1cae564e0128d80b34121e8
authorSteve Evans <SteveCEvans@users.noreply.github.com>
Wed, 19 Apr 2023 11:05:46 +0000 (19 12:05 +0100)
committerGitHub <noreply@github.com>
Wed, 19 Apr 2023 11:05:46 +0000 (19 13:05 +0200)
treefe6ae4b01622c7077df928d21a0d63fcaf8c3122
parentfea097a8936665359a455f64046a3b925504675b
Send motor data and then immediately decode prior telemetry data for bitbanged DSHOT (#12685)

* Send motor data and then immediately decode prior telemetry data for bitbanged DSHOT
F4 can't handle 8K PID loop

* Fix missing cfg_pms.version

* Limit G4 to 4K PID rate as per F4
16 files changed:
src/main/config/config.c
src/main/drivers/at32/exti_at32.c
src/main/drivers/at32/pwm_output_at32bsp.c
src/main/drivers/at32/pwm_output_dshot.c
src/main/drivers/at32/serial_usb_vcp_at32f4.c
src/main/drivers/dshot_bitbang_decode.c
src/main/drivers/dshot_command.c
src/main/drivers/dshot_dpwm.c
src/main/drivers/dshot_dpwm.h
src/main/drivers/motor.c
src/main/drivers/motor.h
src/main/drivers/pwm_output_dshot_shared.c
src/main/drivers/pwm_output_dshot_shared.h
src/main/drivers/stm32/dshot_bitbang.c
src/main/drivers/stm32/pwm_output.c
src/main/target/SITL/sitl.c