Skip to content

Commit

Permalink
fixup! docs(examples/coap): Split out minimal server example
Browse files Browse the repository at this point in the history
  • Loading branch information
chrysn committed Nov 21, 2024
1 parent 2c752ca commit a5377f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/coap-server/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ async fn coap_run() {

// 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),
Expand Down

0 comments on commit a5377f9

Please sign in to comment.