Skip to content

Commit

Permalink
[nrf noup]: qt: Use reboot timeout config
Browse files Browse the repository at this point in the history
Replace hardcoded delay with Kconfig option.

Signed-off-by: Triveni Danda <[email protected]>
  • Loading branch information
D-Triveni authored and krish2718 committed Feb 29, 2024
1 parent e08b0f8 commit 2033844
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qt_client.c
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ static void control_receive_message(int sock, void *eloop_ctx, void *sock_ctx) {
sendto(sock, (const char *)buffer, len, MSG_CONFIRM, (const struct sockaddr *) &from, fromlen);
#ifdef CONFIG_ZEPHYR
if(!strcmp(api->name, "DEVICE_RESET")) {
k_msleep(500);
k_msleep(CONFIG_WFA_QT_REBOOT_TIMEOUT);
shell_execute_cmd(NULL, "kernel reboot cold");
}
#endif
Expand Down

0 comments on commit 2033844

Please sign in to comment.