mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-07-24 15:27:41 +08:00
feat(drivers): implemented serial passthrough (#27605)
* feat: implemented serial passthrough * fix: used make format * fix: changed function order to match other drivers * fix: moved passthrough from systemcmds to drivers * fix: renamed BITBANG_TIMER to UART_BITBANG_TIMER * fix: used make format * feat: added PASSTHRU_EN guard to start of dshot&pwm_out * fix: made changing ESC channels more stable * fix: adjusted naming of guards * fix: changed include guard of bitbang * fix: removed unused variable SER_PASS_BAUD * fix: adjusted comments * fix: adjusted print_usage() to match other drivers * fix: remove bitbang_write_byte from public API and some buffer guard * fix: added Serialpassthrough&Bitbang to exclude list of allyesconfig.py * fix: added missing flag to print_usage()
This commit is contained in:
committed by
GitHub
parent
add48c25a6
commit
f2eecc33f7
@@ -539,8 +539,13 @@ else
|
||||
else
|
||||
commander start
|
||||
|
||||
dshot start
|
||||
pwm_out start
|
||||
if param compare -s PASSTHRU_EN 0
|
||||
then
|
||||
dshot start
|
||||
pwm_out start
|
||||
else
|
||||
param set PASSTHRU_EN 0
|
||||
fi
|
||||
fi
|
||||
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user