mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-08 17:08:28 -04:00
AP_DDS: use AP_NETWORKING_BACKEND_ANY
This commit is contained in:
parent
da6f31d5c7
commit
4c70670445
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user