extmod/modnetwork: Include cyw43-driver header if it's enabled.
Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
parent
7dd818052e
commit
4f30c60dcb
@ -44,6 +44,11 @@
|
|||||||
#include "lwip/apps/mdns.h"
|
#include "lwip/apps/mdns.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if MICROPY_PY_NETWORK_CYW43 && MICROPY_PY_NETWORK_CYW43_USE_LIB_DRIVER
|
||||||
|
// So that CYW43_LINK_xxx constants are available to MICROPY_PORT_NETWORK_INTERFACES.
|
||||||
|
#include "lib/cyw43-driver/src/cyw43.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
/// \module network - network configuration
|
/// \module network - network configuration
|
||||||
///
|
///
|
||||||
/// This module provides network drivers and routing configuration.
|
/// This module provides network drivers and routing configuration.
|
||||||
|
Loading…
Reference in New Issue
Block a user