aboutsummaryrefslogtreecommitdiff
path: root/embassy-net-esp-hosted/src/lib.rs
diff options
context:
space:
mode:
authorUlf Lilleengen <[email protected]>2023-12-20 12:06:49 +0100
committerUlf Lilleengen <[email protected]>2023-12-20 12:06:49 +0100
commit89cfdcb9f554c835d1228c1b9a191786d065df6a (patch)
tree0bd0551c3ae01e76a64f1760ab26fc7feaac8ca4 /embassy-net-esp-hosted/src/lib.rs
parentabea4dde3d30388f8338985e323203d8792dabeb (diff)
fix suddenly ending comment
Diffstat (limited to 'embassy-net-esp-hosted/src/lib.rs')
-rw-r--r--embassy-net-esp-hosted/src/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/embassy-net-esp-hosted/src/lib.rs b/embassy-net-esp-hosted/src/lib.rs
index ce7f39dc1..a5e9ddb4f 100644
--- a/embassy-net-esp-hosted/src/lib.rs
+++ b/embassy-net-esp-hosted/src/lib.rs
@@ -97,14 +97,14 @@ enum InterfaceType {
97const MAX_SPI_BUFFER_SIZE: usize = 1600; 97const MAX_SPI_BUFFER_SIZE: usize = 1600;
98const HEARTBEAT_MAX_GAP: Duration = Duration::from_secs(20); 98const HEARTBEAT_MAX_GAP: Duration = Duration::from_secs(20);
99 99
100/// Shared driver state. 100/// State for the esp-hosted driver.
101pub struct State { 101pub struct State {
102 shared: Shared, 102 shared: Shared,
103 ch: ch::State<MTU, 4, 4>, 103 ch: ch::State<MTU, 4, 4>,
104} 104}
105 105
106impl State { 106impl State {
107 /// Shared state for the 107 /// Create a new state.
108 pub fn new() -> Self { 108 pub fn new() -> Self {
109 Self { 109 Self {
110 shared: Shared::new(), 110 shared: Shared::new(),