mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-09-04 08:04:20 +00:00
pty: pause() instead of sleep for long time
This commit is contained in:
parent
853439f0e7
commit
b888f5f5e6
1 changed files with 1 additions and 1 deletions
|
|
@ -394,7 +394,7 @@ int main(int argc, FAR char *argv[])
|
|||
{
|
||||
/* Nothing to do, then sleep to avoid eating all cpu time */
|
||||
|
||||
usleep(10000);
|
||||
pause();
|
||||
}
|
||||
|
||||
return EXIT_SUCCESS;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue