mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-22 07:44:03 -04:00
AP_Filesystem: Use HAL_CANMANAGER_ENABLED instead of HAL_ENABLE_LIBUAVCAN_DRIVERS
This commit is contained in:
parent
b32f687a6b
commit
fc1bc6b852
@ -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