mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-03 05:09:03 +00:00
Fix some misplaced semicolons as found in build testing.
This commit is contained in:
parent
45eb06c3c2
commit
4477cbcbd1
3 changed files with 3 additions and 2 deletions
|
|
@ -73,7 +73,7 @@ void thread_func(void *parameter)
|
|||
* 2 seconds by setting bendoftest in any event.
|
||||
*/
|
||||
|
||||
for (i = 0; i < 20 && !bendoftest; i++);
|
||||
for (i = 0; i < 20 && !bendoftest; i++)
|
||||
{
|
||||
if ((pthread_mutex_lock(&mut)) != 0)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -73,7 +73,7 @@ void thread_func(void *parameter)
|
|||
* 2 seconds by setting bendoftest in any event.
|
||||
*/
|
||||
|
||||
for (i = 0; i < 20 && !bendoftest; i++);
|
||||
for (i = 0; i < 20 && !bendoftest; i++)
|
||||
{
|
||||
if ((pthread_mutex_lock(&mut)) != 0)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -76,6 +76,7 @@ static void *thread_func(FAR void *parameter)
|
|||
{
|
||||
pthread_yield();
|
||||
}
|
||||
|
||||
my_mutex = 0;
|
||||
|
||||
status = pthread_mutex_unlock(&mut);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue