From eeeb0a24bb5c9bb626c81e8be0b84562d38670ee Mon Sep 17 00:00:00 2001 From: Lachezar Lechev Date: Sat, 22 Jul 2023 10:39:33 +0300 Subject: [PATCH] chore: Update changelog Signed-off-by: Lachezar Lechev --- CHANGELOG.md | 2 ++ src/udp.rs | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e8becb3..ec2bb13 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,10 +10,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Add `defmt` features for enabling `defmt::Format` to most structs and errors by [@elpiel](https://github.com/elpiel) ([#39](https://github.com/kellerkindt/w5500/issues/39)) - Fixed an issue where internal function names were conflicting with trait names by [@ryan-summers](https://github.com/ryan-summers) ([#36](https://github.com/kellerkindt/w5500/issues/36)) +- Add `Udp::get_port` and `Udp::set_port` by [@elpiel](https://github.com/elpiel) ([#57](https://github.com/kellerkindt/w5500/pull/57)) ### Fixed - Fixed an issue that caused corruption when reading partial MACRAW frames by [@Felix-El](https://github.com/Felix-El) ([#47](https://github.com/kellerkindt/w5500/pull/47)) +- Fixes `Udp` implementation to use the socket's ring buffers and include more `UdpSocketError` by [@elpiel](https://github.com/elpiel) ([#57](https://github.com/kellerkindt/w5500/pull/57)) ## [0.4.1] - January 2nd, 2023 diff --git a/src/udp.rs b/src/udp.rs index 75f105f..e2b792f 100644 --- a/src/udp.rs +++ b/src/udp.rs @@ -186,7 +186,7 @@ impl UdpSocket { } /// Send buffer should be less than [`u16::MAX`]. - + /// /// Will block the device until all data is sent. /// /// # Returns