ardupilot/libraries/AP_Networking/AP_Networking_SITL.h
Andrew Tridgell c54e6ce44b AP_Networking: added NET_TEST_IP for test server IP address
and default to same as default for DDS server
2023-11-15 12:43:41 -08:00

23 lines
434 B
C++

#pragma once
#include "AP_Networking_Config.h"
#if AP_NETWORKING_BACKEND_SITL
#include "AP_Networking_Backend.h"
class AP_Networking_SITL : public AP_Networking_Backend
{
public:
using AP_Networking_Backend::AP_Networking_Backend;
/* Do not allow copies */
CLASS_NO_COPY(AP_Networking_SITL);
bool init() override {
return true;
}
void update() override {}
};
#endif // AP_NETWORKING_BACKEND_SITL