From e1f38643495503cdefa3fb4f089dd567067f7d12 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Fri, 22 Mar 2024 13:26:47 +1100 Subject: [PATCH] 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.. --- .../AP_HAL_ChibiOS/hwdef/scripts/convert_betaflight_unified.py | 1 - 1 file changed, 1 deletion(-) diff --git a/libraries/AP_HAL_ChibiOS/hwdef/scripts/convert_betaflight_unified.py b/libraries/AP_HAL_ChibiOS/hwdef/scripts/convert_betaflight_unified.py index 1e8f9a53f9..426854f440 100755 --- a/libraries/AP_HAL_ChibiOS/hwdef/scripts/convert_betaflight_unified.py +++ b/libraries/AP_HAL_ChibiOS/hwdef/scripts/convert_betaflight_unified.py @@ -379,7 +379,6 @@ define HAL_BATT_CURR_SCALE %.1f %s LED%u OUTPUT LOW GPIO(%u) define HAL_GPIO_%s_LED_PIN %u ''' % (led[1], ledn-1, 89+ledn, chr(ledn+64), 89+ledn)) - f.write("define HAL_GPIO_LED_OFF 1\n") # write out devices if settings['blackbox_device'] == 'SPIFLASH':