AP_BLHeli: fixed define for BLHeli support
This commit is contained in:
parent
7ea2928e52
commit
fdf2599329
@ -23,7 +23,7 @@
|
||||
|
||||
#include "AP_BLHeli.h"
|
||||
|
||||
#ifdef HAVE_AP_BLHELI_SUPPORT
|
||||
#if HAVE_AP_BLHELI_SUPPORT
|
||||
|
||||
#if CONFIG_HAL_BOARD == HAL_BOARD_CHIBIOS
|
||||
#include <hal.h>
|
||||
|
@ -24,9 +24,9 @@
|
||||
#include <AP_Common/AP_Common.h>
|
||||
#include <AP_HAL/AP_HAL.h>
|
||||
|
||||
#if HAL_SUPPORT_RCOUT_SERIAL
|
||||
#define HAVE_AP_BLHELI_SUPPORT HAL_SUPPORT_RCOUT_SERIAL
|
||||
|
||||
#define HAVE_AP_BLHELI_SUPPORT
|
||||
#if HAL_SUPPORT_RCOUT_SERIAL
|
||||
|
||||
#include <AP_ESC_Telem/AP_ESC_Telem_Backend.h>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user