mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-19 12:03:33 +08:00
px4_fmu-v6xrt: Add dshot support
This commit is contained in:
committed by
David Sidrane
parent
24cee81279
commit
e2c027405e
@@ -80,6 +80,8 @@ def get_timer_groups(timer_config_file, verbose=False):
|
||||
max_num_channels = 16 # Just add a fixed number of timers
|
||||
timers = [str(i) for i in range(max_num_channels)]
|
||||
dshot_support = {str(i): False for i in range(max_num_channels)}
|
||||
for i in range(8): # First 8 channels support dshot
|
||||
dshot_support[str(i)] = True
|
||||
break
|
||||
|
||||
if timer:
|
||||
|
||||
Reference in New Issue
Block a user