HAL_ChibiOS: save 3k of flash on MatekF405-Wing

disable SMBUS and fuel battery monitors
This commit is contained in:
Andrew Tridgell 2019-12-09 15:23:06 +11:00 committed by Randy Mackay
parent 943e495f34
commit ede5cabbf5

View File

@ -182,3 +182,6 @@ define BOARD_PWM_COUNT_DEFAULT 9
define STM32_PWM_USE_ADVANCED TRUE
# disable SMBUS and fuel battery monitors to save flash
define HAL_BATTMON_SMBUS_ENABLE 0
define HAL_BATTMON_FUEL_ENABLE 0