AP_HAL_ChibiOS: define OSD_ENABLED as 1 rather than ENABLED

This commit is contained in:
Andy Piper 2019-12-20 17:46:24 +00:00 committed by Andrew Tridgell
parent afa232cc7e
commit 6f979d5f7f
12 changed files with 12 additions and 12 deletions

View File

@ -151,7 +151,7 @@ define HAL_PROBE_EXTERNAL_I2C_BAROS
#define HAL_BOARD_TERRAIN_DIRECTORY "/APM/TERRAIN"
# OSD support
define OSD_ENABLED ENABLED
define OSD_ENABLED 1
define HAL_OSD_TYPE_DEFAULT 1
ROMFS_WILDCARD libraries/AP_OSD/fonts/font*.bin

View File

@ -150,7 +150,7 @@ BARO BMP280 I2C:0:0x76
define HAL_LOGGING_DATAFLASH
# setup for OSD
define OSD_ENABLED ENABLED
define OSD_ENABLED 1
define HAL_OSD_TYPE_DEFAULT 1
ROMFS_WILDCARD libraries/AP_OSD/fonts/font*.bin

View File

@ -148,7 +148,7 @@ define HAL_BOARD_LOG_DIRECTORY "/APM/LOGS"
define HAL_BOARD_TERRAIN_DIRECTORY "/APM/TERRAIN"
# setup for OSD
define OSD_ENABLED ENABLED
define OSD_ENABLED 1
define HAL_OSD_TYPE_DEFAULT 1
ROMFS_WILDCARD libraries/AP_OSD/fonts/font*.bin

View File

@ -147,7 +147,7 @@ IMU Invensense SPI:mpu6000 ROTATION_YAW_180
BARO BMP280 I2C:0:0x76
# setup for OSD
define OSD_ENABLED ENABLED
define OSD_ENABLED 1
define HAL_OSD_TYPE_DEFAULT 1
ROMFS_WILDCARD libraries/AP_OSD/fonts/font*.bin

View File

@ -174,7 +174,7 @@ define HAL_PROBE_EXTERNAL_I2C_COMPASSES
define HAL_I2C_INTERNAL_MASK 0
define HAL_COMPASS_AUTO_ROT_DEFAULT 2
define OSD_ENABLED ENABLED
define OSD_ENABLED 1
define HAL_OSD_TYPE_DEFAULT 1
ROMFS_WILDCARD libraries/AP_OSD/fonts/font*.bin

View File

@ -170,6 +170,6 @@ define BOARD_PWM_COUNT_DEFAULT 8
#define CH_DBG_ENABLE_STACK_CHECK TRUE
# setup for OSD
define OSD_ENABLED ENABLED
define OSD_ENABLED 1
define HAL_OSD_TYPE_DEFAULT 1
ROMFS_WILDCARD libraries/AP_OSD/fonts/font*.bin

View File

@ -201,7 +201,7 @@ define HAL_BOARD_LOG_DIRECTORY "/APM/LOGS"
define HAL_BOARD_TERRAIN_DIRECTORY "/APM/TERRAIN"
# setup for OSD
define OSD_ENABLED ENABLED
define OSD_ENABLED 1
define HAL_OSD_TYPE_DEFAULT 1
ROMFS_WILDCARD libraries/AP_OSD/fonts/font*.bin

View File

@ -138,7 +138,7 @@ define HAL_COMPASS_AUTO_ROT_DEFAULT 2
# one baro
BARO BMP280 SPI:bmp280
define OSD_ENABLED ENABLED
define OSD_ENABLED 1
define HAL_OSD_TYPE_DEFAULT 1
ROMFS_WILDCARD libraries/AP_OSD/fonts/font*.bin

View File

@ -136,7 +136,7 @@ define BOARD_RSSI_ANA_PIN 0
define HAL_GPIO_A_LED_PIN 41
define OSD_ENABLED ENABLED
define OSD_ENABLED 1
define HAL_OSD_TYPE_DEFAULT 1
#To complementary channels work we define this

View File

@ -132,7 +132,7 @@ define BOARD_RSSI_ANA_PIN 0
define OSD_ENABLED ENABLED
define OSD_ENABLED 1
define HAL_OSD_TYPE_DEFAULT 1
#To complementary channels work we define this

View File

@ -151,6 +151,6 @@ define STM32_PWM_USE_ADVANCED TRUE
define BOARD_PWM_COUNT_DEFAULT 6
define OSD_ENABLED ENABLED
define OSD_ENABLED 1
#font for the osd
ROMFS_WILDCARD libraries/AP_OSD/fonts/font*.bin

View File

@ -157,6 +157,6 @@ define BOARD_PWM_COUNT_DEFAULT 8
#define CH_DBG_ENABLE_STACK_CHECK TRUE
# setup for OSD
define OSD_ENABLED ENABLED
define OSD_ENABLED 1
define HAL_OSD_TYPE_DEFAULT 1
ROMFS_WILDCARD libraries/AP_OSD/fonts/font*.bin