mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
AP_Filesystem: Use HAL_CANMANAGER_ENABLED instead of HAL_ENABLE_LIBUAVCAN_DRIVERS
This commit is contained in:
parent
603b302ffd
commit
ee22747b48
@ -104,7 +104,7 @@ int AP_Filesystem_Sys::open(const char *fname, int flags)
|
||||
if (strcmp(fname, "uarts.txt") == 0) {
|
||||
hal.util->uart_info(*r.str);
|
||||
}
|
||||
#if HAL_MAX_CAN_PROTOCOL_DRIVERS
|
||||
#if HAL_CANMANAGER_ENABLED
|
||||
int8_t can_stats_num = -1;
|
||||
if (strcmp(fname, "can_log.txt") == 0) {
|
||||
AP::can().log_retrieve(*r.str);
|
||||
|
Loading…
Reference in New Issue
Block a user