diff --git a/embassy-time/src/driver_mock.rs b/embassy-time/src/driver_mock.rs index 4ae5a2d9..c7cab342 100644 --- a/embassy-time/src/driver_mock.rs +++ b/embassy-time/src/driver_mock.rs @@ -40,11 +40,6 @@ impl MockDriver { &DRIVER } - /// Sets the current time of the mock driver. - pub fn set_current_time(&self, now: Instant) { - critical_section::with(|cs| self.now.borrow(cs).set(now)) - } - /// Advances the time by the specified [`Duration`]. pub fn advance(&self, duration: Duration) { critical_section::with(|cs| {