From e54a33797c3aeb12d0233e26730bcdbbb1088616 Mon Sep 17 00:00:00 2001 From: Ryan Summers Date: Wed, 17 Mar 2021 14:54:57 +0100 Subject: [PATCH] Updating comment about time --- src/hardware/configuration.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/hardware/configuration.rs b/src/hardware/configuration.rs index aead723..eb34274 100644 --- a/src/hardware/configuration.rs +++ b/src/hardware/configuration.rs @@ -597,6 +597,9 @@ pub fn setup( &mut sockets, dhcp_rx_buffer, dhcp_tx_buffer, + // Smoltcp indicates that an instant with a negative time is indicative that time is + // not yet available. We can't get the current instant yet, so indicate an invalid + // time value. smoltcp::time::Instant::from_millis(-1), ) };