Skip to content

Commit

Permalink
AP_HAL_ChibiOS: allow betaflight converter to run on output from "dum…
Browse files Browse the repository at this point in the history
…p hardware"
  • Loading branch information
andyp1per committed Dec 4, 2023
1 parent 60ceaec commit 8decd5c
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,9 @@ def convert_file(fname, board_id):
line = lines[i]
if line.startswith('resource'):
a = line.split()

if a[3] == 'NONE':
continue
# function, number, pin
pin = convert_pin(a[3])
resource = [ a[2] , pin, a[1].split('_')[0], a[1] ]
Expand Down

0 comments on commit 8decd5c

Please sign in to comment.