5
0
mirror of https://github.com/ArduPilot/ardupilot synced 2025-01-03 14:38:30 -04:00

AP_Networking: allow for --enable-ppp to enable networking

This commit is contained in:
Andrew Tridgell 2023-12-26 06:51:40 +11:00
parent d26530c892
commit 812ac6bc0a

View File

@ -1,5 +1,10 @@
#include <AP_HAL/AP_HAL_Boards.h>
#if defined(AP_NETWORKING_BACKEND_PPP) && !defined(AP_NETWORKING_ENABLED)
// allow --enable-ppp to enable networking
#define AP_NETWORKING_ENABLED AP_NETWORKING_BACKEND_PPP
#endif
#ifndef AP_NETWORKING_ENABLED
#define AP_NETWORKING_ENABLED 0
#endif