diff --git a/GsmWithGnss.c b/GsmWithGnss.c index 819c2e0..2db08b5 100644 --- a/GsmWithGnss.c +++ b/GsmWithGnss.c @@ -143,7 +143,7 @@ void GsmWithGnss_SetNetworkRegistration(tGsmWithGnss *env, bool value) { ControllableSwitch_Set(&env->enableNetworkSwitch, value); } -bool GsmWithGnss_WaitNetworkRegistration(tGsmWithGnss *env, uint16_t timeReg) { +bool GsmWithGnss_WaitNetworkRegistration(tGsmWithGnss *env, uint32_t timeReg) { uint32_t timeEnd = SystemGetMs() + timeReg;