diff options
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/boot/bootloader/rp/Cargo.toml | 1 | ||||
| -rw-r--r-- | examples/std/src/bin/tcp_accept.rs | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/examples/boot/bootloader/rp/Cargo.toml b/examples/boot/bootloader/rp/Cargo.toml index 8d60f18be..c1dc99eec 100644 --- a/examples/boot/bootloader/rp/Cargo.toml +++ b/examples/boot/bootloader/rp/Cargo.toml | |||
| @@ -30,3 +30,4 @@ debug = ["defmt-rtt", "defmt"] | |||
| 30 | 30 | ||
| 31 | [profile.release] | 31 | [profile.release] |
| 32 | debug = true | 32 | debug = true |
| 33 | opt-level = 's' | ||
diff --git a/examples/std/src/bin/tcp_accept.rs b/examples/std/src/bin/tcp_accept.rs index d24e218dc..01695baea 100644 --- a/examples/std/src/bin/tcp_accept.rs +++ b/examples/std/src/bin/tcp_accept.rs | |||
| @@ -108,7 +108,7 @@ async fn main_task(spawner: Spawner) { | |||
| 108 | info!("Closing the connection"); | 108 | info!("Closing the connection"); |
| 109 | socket.abort(); | 109 | socket.abort(); |
| 110 | info!("Flushing the RST out..."); | 110 | info!("Flushing the RST out..."); |
| 111 | socket.flush().await; | 111 | _ = socket.flush().await; |
| 112 | info!("Finished with the socket"); | 112 | info!("Finished with the socket"); |
| 113 | } | 113 | } |
| 114 | } | 114 | } |
