From ad90e37f214553c540e1a5f5749205531c86f67c Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Thu, 11 Jan 2024 13:44:36 +1100 Subject: [PATCH] hwdef: remove bad AP_PERIPH_HAVE_LED lines from bootloaders this define is only used within the AP_Periph directory --- libraries/AP_HAL_ChibiOS/hwdef/Here4AP/hwdef-bl.dat | 2 -- libraries/AP_HAL_ChibiOS/hwdef/Here4FC/hwdef-bl.dat | 2 -- libraries/AP_HAL_ChibiOS/hwdef/HerePro/hwdef-bl.dat | 2 -- 3 files changed, 6 deletions(-) diff --git a/libraries/AP_HAL_ChibiOS/hwdef/Here4AP/hwdef-bl.dat b/libraries/AP_HAL_ChibiOS/hwdef/Here4AP/hwdef-bl.dat index d94c02e914..e3e6dca8be 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/Here4AP/hwdef-bl.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/Here4AP/hwdef-bl.dat @@ -50,8 +50,6 @@ define HAL_NO_MONITOR_THREAD PA13 JTMS-SWDIO SWD PA14 JTCK-SWCLK SWD -define AP_PERIPH_HAVE_LED - # order of UARTs SERIAL_ORDER define HAL_USE_UART FALSE diff --git a/libraries/AP_HAL_ChibiOS/hwdef/Here4FC/hwdef-bl.dat b/libraries/AP_HAL_ChibiOS/hwdef/Here4FC/hwdef-bl.dat index 0236dbff1c..8c302244ad 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/Here4FC/hwdef-bl.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/Here4FC/hwdef-bl.dat @@ -51,8 +51,6 @@ define HAL_NO_MONITOR_THREAD PA13 JTMS-SWDIO SWD PA14 JTCK-SWCLK SWD -define AP_PERIPH_HAVE_LED - define CAN_APP_NODE_NAME "com.cubepilot.here4fc" PB6 USART1_TX USART1 diff --git a/libraries/AP_HAL_ChibiOS/hwdef/HerePro/hwdef-bl.dat b/libraries/AP_HAL_ChibiOS/hwdef/HerePro/hwdef-bl.dat index d1d9f2bae5..5f8cffae71 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/HerePro/hwdef-bl.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/HerePro/hwdef-bl.dat @@ -65,8 +65,6 @@ define HAL_DEVICE_THREAD_STACK 2048 define HAL_BARO_ALLOW_INIT_NO_BARO -define AP_PERIPH_HAVE_LED - define HAL_COMPASS_MAX_SENSORS 1 # GPS+MAG