Skip to content

Commit 6b11ca1

Browse files
author
Teppo Järvelin
committed
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.
1 parent fc645bc commit 6b11ca1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

features/cellular/framework/AT/ATHandler.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,8 +320,8 @@ void ATHandler::process_oob()
320320
reset_buffer(); // consume anything that could not be handled
321321
break;
322322
}
323-
_start_time = rtos::Kernel::get_ms_count();
324323
}
324+
_start_time = rtos::Kernel::get_ms_count();
325325
}
326326
_at_timeout = timeout;
327327
tr_debug("AT OoB done");

0 commit comments

Comments
 (0)