2023-03-18 19:43:47 -03:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <AP_HAL/AP_HAL_Boards.h>
|
2023-05-14 22:44:22 -03:00
|
|
|
#include <AP_Filesystem/AP_Filesystem_config.h>
|
2023-03-18 19:43:47 -03:00
|
|
|
|
|
|
|
#ifndef OSD_ENABLED
|
2023-03-18 20:03:12 -03:00
|
|
|
#define OSD_ENABLED 1
|
2023-03-18 19:43:47 -03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef HAL_WITH_OSD_BITMAP
|
|
|
|
#define HAL_WITH_OSD_BITMAP OSD_ENABLED && (defined(HAL_WITH_SPI_OSD) || defined(WITH_SITL_OSD))
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef OSD_PARAM_ENABLED
|
|
|
|
#define OSD_PARAM_ENABLED 1
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef HAL_OSD_SIDEBAR_ENABLE
|
|
|
|
#define HAL_OSD_SIDEBAR_ENABLE 1
|
|
|
|
#endif
|
2023-05-14 22:44:22 -03:00
|
|
|
|
|
|
|
#ifndef AP_OSD_CALLSIGN_FROM_SD_ENABLED
|
|
|
|
#define AP_OSD_CALLSIGN_FROM_SD_ENABLED (AP_FILESYSTEM_POSIX_ENABLED || AP_FILESYSTEM_FATFS_ENABLED)
|
|
|
|
#endif
|