mirror of https://github.com/ArduPilot/ardupilot
hwdef: convert_betaflight_unified.py: don't set HAL_GPIO_LED_OFF
this value is the default value anyway, so don't make many copies..
This commit is contained in:
parent
10627d296d
commit
e1f3864349
|
@ -379,7 +379,6 @@ define HAL_BATT_CURR_SCALE %.1f
|
||||||
%s LED%u OUTPUT LOW GPIO(%u)
|
%s LED%u OUTPUT LOW GPIO(%u)
|
||||||
define HAL_GPIO_%s_LED_PIN %u
|
define HAL_GPIO_%s_LED_PIN %u
|
||||||
''' % (led[1], ledn-1, 89+ledn, chr(ledn+64), 89+ledn))
|
''' % (led[1], ledn-1, 89+ledn, chr(ledn+64), 89+ledn))
|
||||||
f.write("define HAL_GPIO_LED_OFF 1\n")
|
|
||||||
|
|
||||||
# write out devices
|
# write out devices
|
||||||
if settings['blackbox_device'] == 'SPIFLASH':
|
if settings['blackbox_device'] == 'SPIFLASH':
|
||||||
|
|
Loading…
Reference in New Issue