Cellular: fix athandler to use correct timeout in case of multiple urc's

Start time was not updated when multiple urc's were found and so timeout
was set to zero. Now that start time is updated, timeout is correct.
pull/10812/head
Teppo Järvelin 2019-06-12 11:21:00 +03:00
parent fc645bc3ed
commit 6b11ca1371
1 changed files with 1 additions and 1 deletions

View File

@ -320,8 +320,8 @@ void ATHandler::process_oob()
reset_buffer(); // consume anything that could not be handled
break;
}
_start_time = rtos::Kernel::get_ms_count();
}
_start_time = rtos::Kernel::get_ms_count();
}
_at_timeout = timeout;
tr_debug("AT OoB done");