diff options
| -rw-r--r-- | embassy-net-esp-hosted/src/lib.rs | 4 |
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 { | |||
| 97 | const MAX_SPI_BUFFER_SIZE: usize = 1600; | 97 | const MAX_SPI_BUFFER_SIZE: usize = 1600; |
| 98 | const HEARTBEAT_MAX_GAP: Duration = Duration::from_secs(20); | 98 | const HEARTBEAT_MAX_GAP: Duration = Duration::from_secs(20); |
| 99 | 99 | ||
| 100 | /// Shared driver state. | 100 | /// State for the esp-hosted driver. |
| 101 | pub struct State { | 101 | pub 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 | ||
| 106 | impl State { | 106 | impl 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(), |
