Skip to content
Snippets Groups Projects
Commit c55f4a37 authored by patacongo's avatar patacongo
Browse files

Use mdelay vs inaccurate udelay

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@586 42af7a65-404d-4744-a932-0658087f49c3
parent 89c63fc6
No related branches found
No related tags found
No related merge requests found
......@@ -347,7 +347,7 @@ static int uart_close(struct file *filep)
#ifndef CONFIG_DISABLE_SIGNALS
usleep(500*1000);
#else
up_udelay(500*1000);
up_mdelay(500);
#endif
}
......@@ -358,7 +358,7 @@ static int uart_close(struct file *filep)
#ifndef CONFIG_DISABLE_SIGNALS
usleep(500*1000);
#else
up_udelay(500*1000);
up_mdelay(500);
#endif
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment