Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
roleoroleo committed Jun 11, 2024
2 parents c06ffc2 + 49a8c07 commit d5b86d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion device_service.c
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ int device_system_reboot()
sleep(1);

pthread_create(&reboot_pthread, NULL, reboot_thread, NULL);
pthread_detach(reboot_pthread);
pthread_join(reboot_pthread, NULL);

return ret;
}
Expand Down

0 comments on commit d5b86d4

Please sign in to comment.