mirror of https://github.com/ArduPilot/ardupilot
AP_HAL_ChibiOS: allow betaflight converter to run on output from "dump hardware"
This commit is contained in:
parent
6e417f1d0c
commit
0cc5cf7d2d
|
@ -192,6 +192,9 @@ define STORAGE_FLASH_PAGE 1
|
|||
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] ]
|
||||
|
|
Loading…
Reference in New Issue