Skip to content

Commit 78faf5e

Browse files
ndrs-pstfabiobaltieri
authored andcommitted
drivers: gnss: quectel_lcx6g: fix compilation error when CONFIG_PM_DEVICE=y
Fixes a compilation error in quectel_lcx6g driver when CONFIG_PM_DEVICE=y. Corrects the function call in quectel_lcx6g_suspend from 'modem_chat_run_script_run' to 'modem_chat_run_script'. Signed-off-by: Pisit Sawangvonganan <[email protected]>
1 parent e51c47b commit 78faf5e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gnss/gnss_quectel_lcx6g.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ static int quectel_lcx6g_suspend(const struct device *dev)
211211
struct quectel_lcx6g_data *data = dev->data;
212212
int ret;
213213

214-
ret = modem_chat_run_script_run(&data->chat, &suspend_script);
214+
ret = modem_chat_run_script(&data->chat, &suspend_script);
215215
if (ret < 0) {
216216
modem_pipe_close(data->uart_pipe);
217217
}

0 commit comments

Comments
 (0)