AP_UAVCAN: disable server for HAL_PX4 with minimize feature builds

This commit is contained in:
Siddharth Purohit 2018-10-03 02:06:43 +05:30 committed by Andrew Tridgell
parent 144bbb293f
commit e017783f69
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
#pragma once
#include <AP_HAL/AP_HAL.h>
#if (HAL_OS_POSIX_IO || HAL_OS_FATFS_IO)
#if (HAL_OS_POSIX_IO || HAL_OS_FATFS_IO) && !(HAL_MINIMIZE_FEATURES && CONFIG_HAL_BOARD == HAL_BOARD_PX4)
#define HAS_UAVCAN_SERVERS