mirror of
https://github.com/ArduPilot/ardupilot.git
synced 2026-10-20 14:53:54 +08:00
AP_HAL_ChibiOS: replace HAL_NO_UARTDRIVER with AP_HAL_UARTDRIVER_ENABLED
This commit is contained in:
committed by
Andrew Tridgell
parent
135805d290
commit
f29e2cb19c
@@ -18,7 +18,7 @@
|
||||
|
||||
#define HAL_FORWARD_OTG2_SERIAL_LOCK_KEY 0x23565283UL
|
||||
|
||||
#if CONFIG_HAL_BOARD == HAL_BOARD_CHIBIOS && !defined(HAL_NO_UARTDRIVER)
|
||||
#if CONFIG_HAL_BOARD == HAL_BOARD_CHIBIOS && AP_HAL_UARTDRIVER_ENABLED
|
||||
|
||||
#include <hal.h>
|
||||
#include "UARTDriver.h"
|
||||
|
||||
Reference in New Issue
Block a user