diff options
Diffstat (limited to 'extmod/modnetwork.c')
| -rw-r--r-- | extmod/modnetwork.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/extmod/modnetwork.c b/extmod/modnetwork.c index 87e155e09..e05bfdb11 100644 --- a/extmod/modnetwork.c +++ b/extmod/modnetwork.c @@ -44,6 +44,11 @@ #include "lwip/apps/mdns.h" #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 /// /// This module provides network drivers and routing configuration. |
