AP_Periph: add networking
This commit is contained in:
parent
f84572a545
commit
88cc72f0ee
@ -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
|
||||
|
||||
|
@ -304,7 +304,7 @@ public:
|
||||
AP_Logger logger;
|
||||
#endif
|
||||
|
||||
#if AP_NETWORKING_ENABLED
|
||||
#ifdef HAL_PERIPH_ENABLE_NETWORKING
|
||||
AP_Networking networking;
|
||||
#endif
|
||||
|
||||
|
@ -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),
|
||||
|
Loading…
Reference in New Issue
Block a user