summaryrefslogtreecommitdiff
path: root/embassy-net
diff options
context:
space:
mode:
authorDario Nieuwenhuis <dirbaio@dirbaio.net>2021-02-03 05:15:13 +0100
committerDario Nieuwenhuis <dirbaio@dirbaio.net>2021-02-03 05:15:13 +0100
commit10cd5bddc91280009d6951e34a67b1a01c7e2166 (patch)
treea66730a16751a1565e61b1853b64f660dff23218 /embassy-net
parentcb5931d583d283dda3a1b5ed2014c086bb8f98ae (diff)
downloadembassy-10cd5bddc91280009d6951e34a67b1a01c7e2166.zip
Add CI
Diffstat (limited to 'embassy-net')
-rw-r--r--embassy-net/Cargo.toml1
-rw-r--r--embassy-net/src/tcp_socket.rs1
2 files changed, 1 insertions, 1 deletions
diff --git a/embassy-net/Cargo.toml b/embassy-net/Cargo.toml
index aec6b796..185992dd 100644
--- a/embassy-net/Cargo.toml
+++ b/embassy-net/Cargo.toml
@@ -11,6 +11,7 @@ defmt-debug = []
defmt-info = []
defmt-warn = []
defmt-error = []
+defmt = [ "dep:defmt", "smoltcp/defmt" ]
[dependencies]
diff --git a/embassy-net/src/tcp_socket.rs b/embassy-net/src/tcp_socket.rs
index 7f4eb014..eab8189d 100644
--- a/embassy-net/src/tcp_socket.rs
+++ b/embassy-net/src/tcp_socket.rs
@@ -112,7 +112,6 @@ impl<'a> TcpSocket<'a> {
}
fn to_ioerr(e: Error) -> io::Error {
- warn!("smoltcp err: {:?}", e);
// todo
io::Error::Other
}