AP_BLHeli: fixed define for BLHeli support

This commit is contained in:
Andrew Tridgell 2024-02-02 10:53:19 +11:00
parent 7ea2928e52
commit fdf2599329
2 changed files with 3 additions and 3 deletions

View File

@ -23,7 +23,7 @@
#include "AP_BLHeli.h" #include "AP_BLHeli.h"
#ifdef HAVE_AP_BLHELI_SUPPORT #if HAVE_AP_BLHELI_SUPPORT
#if CONFIG_HAL_BOARD == HAL_BOARD_CHIBIOS #if CONFIG_HAL_BOARD == HAL_BOARD_CHIBIOS
#include <hal.h> #include <hal.h>

View File

@ -24,9 +24,9 @@
#include <AP_Common/AP_Common.h> #include <AP_Common/AP_Common.h>
#include <AP_HAL/AP_HAL.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> #include <AP_ESC_Telem/AP_ESC_Telem_Backend.h>