From dea8326d50e517abcd16e2a8f4dc6ba428f2bfa2 Mon Sep 17 00:00:00 2001 From: Mathias Koch Date: Mon, 4 Dec 2023 12:23:25 +0100 Subject: [PATCH] Adjust power on wait time (#95) --- ublox-cellular/src/power.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ublox-cellular/src/power.rs b/ublox-cellular/src/power.rs index aa9355d..0939035 100644 --- a/ublox-cellular/src/power.rs +++ b/ublox-cellular/src/power.rs @@ -141,14 +141,14 @@ where pwr.set_high().ok(); - BlockingTimer::after(Duration::from_secs(1)).wait(); - if let Err(e) = self.wait_power_state(PowerState::On, Duration::from_secs(10)) { error!("Failed to power on modem"); return Err(e); } else { trace!("Modem powered on"); } + + BlockingTimer::after(Duration::from_secs(3)).wait(); } _ => { // Software restart