Costmetic changes

This commit is contained in:
Gregory Nutt
2018-08-19 11:19:43 -06:00
parent c790450ba2
commit 8e203e09d4
10 changed files with 41 additions and 35 deletions
+2 -1
View File
@@ -1,7 +1,8 @@
/****************************************************************************
* sched/timer/timer_create.c
*
* Copyright (C) 2007-2009, 2011, 2014-2017 Gregory Nutt. All rights reserved.
* Copyright (C) 2007-2009, 2011, 2014-2017 Gregory Nutt. All rights
* reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
+4 -4
View File
@@ -71,7 +71,7 @@ static void timer_timeout(int argc, wdparm_t itimer);
* Name: timer_signotify
*
* Description:
* This function basically reimplements nxsig_queue() so that the si_code
* This function basically re-implements nxsig_queue() so that the si_code
* can be correctly set to SI_TIMER
*
* Input Parameters:
@@ -279,7 +279,7 @@ static void timer_timeout(int argc, wdparm_t itimer)
* Input Parameters:
* timerid - The pre-thread timer, previously created by the call to
* timer_create(), to be be set.
* flags - Specifie characteristics of the timer (see above)
* flags - Specifies characteristics of the timer (see above)
* value - Specifies the timer value to set
* ovalue - A location in which to return the time remaining from the
* previous timer setting. (ignored)
@@ -329,7 +329,7 @@ int timer_settime(timer_t timerid, int flags,
return OK;
}
/* Setup up any repititive timer */
/* Setup up any repetitive timer */
if (value->it_interval.tv_sec > 0 || value->it_interval.tv_nsec > 0)
{
@@ -372,7 +372,7 @@ int timer_settime(timer_t timerid, int flags,
}
/* If the time is in the past or now, then set up the next interval
* instead (assuming a repititive timer).
* instead (assuming a repetitive timer).
*/
if (delay <= 0)