mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-20 15:48:29 -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>
|
#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
|
#ifndef AP_NETWORKING_ENABLED
|
||||||
#define AP_NETWORKING_ENABLED 0
|
#define AP_NETWORKING_ENABLED 0
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user