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:
parent
d26530c892
commit
812ac6bc0a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user