From 2c752ca21ef7e50746f9cd8e0cc501c8eca7c00b Mon Sep 17 00:00:00 2001 From: chrysn Date: Thu, 21 Nov 2024 14:22:33 +0100 Subject: [PATCH] fixup! doc(examples/coap): Split out minimal client example --- examples/coap-client/src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/coap-client/src/main.rs b/examples/coap-client/src/main.rs index 32fea1140..229ffae9e 100644 --- a/examples/coap-client/src/main.rs +++ b/examples/coap-client/src/main.rs @@ -47,8 +47,8 @@ async fn run_client_operations() { // So far, this is necessary boilerplate; see ../../README.md#networking for details #[ariel_os::config(network)] -fn network_config() -> embassy_net::Config { - use embassy_net::Ipv4Address; +fn network_config() -> ariel_os::reexports::embassy_net::Config { + use ariel_os::reexports::embassy_net::{self, Ipv4Address}; embassy_net::Config::ipv4_static(embassy_net::StaticConfigV4 { address: embassy_net::Ipv4Cidr::new(Ipv4Address::new(10, 42, 0, 61), 24),