From 812ac6bc0a1c840f87b992f3170ef80f2854b19a Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 26 Dec 2023 06:51:40 +1100 Subject: [PATCH] AP_Networking: allow for --enable-ppp to enable networking --- libraries/AP_Networking/AP_Networking_Config.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/libraries/AP_Networking/AP_Networking_Config.h b/libraries/AP_Networking/AP_Networking_Config.h index b08b936e3b..c55ef50624 100644 --- a/libraries/AP_Networking/AP_Networking_Config.h +++ b/libraries/AP_Networking/AP_Networking_Config.h @@ -1,5 +1,10 @@ #include +#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