AP_DDS: use AP_NETWORKING_BACKEND_ANY

This commit is contained in:
Tom Pittenger 2023-11-12 14:10:17 -08:00 committed by Tom Pittenger
parent da6f31d5c7
commit 4c70670445

View File

@ -1,6 +1,7 @@
#pragma once
#include <AP_HAL/AP_HAL_Boards.h>
#include <AP_Networking/AP_Networking_Config.h>
#ifndef AP_DDS_ENABLED
#define AP_DDS_ENABLED 1
@ -8,7 +9,7 @@
// UDP only on SITL for now
#ifndef AP_DDS_UDP_ENABLED
#define AP_DDS_UDP_ENABLED AP_DDS_ENABLED && (CONFIG_HAL_BOARD == HAL_BOARD_SITL)
#define AP_DDS_UDP_ENABLED AP_DDS_ENABLED && AP_NETWORKING_SOCKETS_ENABLED
#endif
#include <AP_VisualOdom/AP_VisualOdom_config.h>