AP_Periph: add networking

This commit is contained in:
Tom Pittenger 2023-08-02 17:50:27 -07:00 committed by Andrew Tridgell
parent f84572a545
commit 88cc72f0ee
3 changed files with 4 additions and 4 deletions

View File

@ -100,7 +100,7 @@ void AP_Periph_FW::init()
can_start();
#if AP_NETWORKING_ENABLED
#ifdef HAL_PERIPH_ENABLE_NETWORKING
networking.init();
#endif
@ -480,7 +480,7 @@ void AP_Periph_FW::update()
can_update();
#if AP_NETWORKING_ENABLED
#ifdef HAL_PERIPH_ENABLE_NETWORKING
networking.update();
#endif

View File

@ -304,7 +304,7 @@ public:
AP_Logger logger;
#endif
#if AP_NETWORKING_ENABLED
#ifdef HAL_PERIPH_ENABLE_NETWORKING
AP_Networking networking;
#endif

View File

@ -551,7 +551,7 @@ const AP_Param::Info AP_Periph_FW::var_info[] = {
#endif
#endif
#if AP_NETWORKING_ENABLED
#ifdef HAL_PERIPH_ENABLE_NETWORKING
// @Group: NET_
// @Path: ../libraries/AP_Networking/AP_Networking.cpp
GOBJECT(networking, "NET_", AP_Networking),