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:
Peter Barker 2024-03-22 13:26:47 +11:00 committed by Peter Barker
parent 10627d296d
commit e1f3864349
1 changed files with 0 additions and 1 deletions

View File

@ -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':