Skip to content

Commit e2549cc

Browse files
JordanYatesaescolar
authored andcommitted
lora: rylrxxx: add missing timeout
Add the missing timeout parameter to `modem_pipe_open`. 10 seconds appears to be the default value added to other in-tree drivers. Signed-off-by: Jordan Yates <[email protected]>
1 parent 3bcaa6f commit e2549cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/lora/rylrxxx.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -625,7 +625,7 @@ static int rylr_init(const struct device *dev)
625625
return err;
626626
}
627627

628-
err = modem_pipe_open(data->uart_pipe);
628+
err = modem_pipe_open(data->uart_pipe, K_SECONDS(10));
629629
if (err != 0) {
630630
LOG_ERR("error opening uart pipe %d", err);
631631
return err;

0 commit comments

Comments
 (0)