mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-20 14:54:09 -04:00
AP_HAL: replace HAL_NO_UARTDRIVER with AP_HAL_UARTDRIVER_ENABLED
This commit is contained in:
parent
f29e2cb19c
commit
c1c438d5bd
@ -206,6 +206,10 @@
|
||||
#define HAL_WITH_DSP HAL_GYROFFT_ENABLED
|
||||
#endif
|
||||
|
||||
#ifndef AP_HAL_UARTDRIVER_ENABLED
|
||||
#define AP_HAL_UARTDRIVER_ENABLED 1
|
||||
#endif
|
||||
|
||||
#ifndef HAL_OS_FATFS_IO
|
||||
#define HAL_OS_FATFS_IO 0
|
||||
#endif
|
||||
|
@ -7,7 +7,7 @@
|
||||
#include <AP_Logger/AP_Logger_config.h>
|
||||
|
||||
#ifndef HAL_UART_STATS_ENABLED
|
||||
#define HAL_UART_STATS_ENABLED !defined(HAL_NO_UARTDRIVER)
|
||||
#define HAL_UART_STATS_ENABLED AP_HAL_UARTDRIVER_ENABLED
|
||||
#endif
|
||||
|
||||
#ifndef AP_UART_MONITOR_ENABLED
|
||||
|
Loading…
Reference in New Issue
Block a user