Cosmetic updates to comments

This commit is contained in:
Gregory Nutt 2015-02-12 13:44:22 -06:00
parent 3e1173225e
commit 63ac1ec423
4 changed files with 6 additions and 4 deletions

View File

@ -25,7 +25,7 @@ Description
This README file describes the contents of the build configurations available
for the NuttX "sim" target. The sim target is a NuttX port that runs as a
user-space program under Linux or Cygwin. It is a very "low fidelity" embedded
system simulation: This environment does not support any kind of asynchonous
system simulation: This environment does not support any kind of asynchronous
events -- there are nothing like interrupts in this context. Therefore, there
can be no pre-empting events.
@ -197,7 +197,7 @@ BASIC
CONFIG_LIBC_EXECFUNCS=y : exec*() functions are required
CONFIG_LIBM=y : Some floating point library is required
CONFIG_LIBC_FLOATINGPOINT=y : Floating point printing support is required
CONFIG_LIBC_TMPDIR="/tmp" : Writable temporary files needed for some commands
CONFIG_LIBC_TMPDIR="/tmp" : Writeable temporary files needed for some commands
Enable the BASIC interpreter. Other default options should be okay:
CONFIG_INTERPRETERS_BAS=y : Enables the interpreter

View File

@ -3,7 +3,8 @@
* Character driver for the Freescale MPL115A1 Barometer Sensor
*
* Copyright (C) 2015 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
* Copyright (C) 2015 Alan Carvalho de Assis
* Author: Alan Carvalho de Assis <acassis@gmail.com>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions

View File

@ -172,4 +172,4 @@ int wd_gettime(WDOG_ID wdog);
}
#endif
#endif /* _WDOG_H_ */
#endif /* __INCLUDE_NUTTX_WDOG_H */

View File

@ -81,6 +81,7 @@ int settimeofday(FAR const struct timeval *tv, FAR struct timezone *tz)
return ERROR;
}
#endif
/* Convert the timeval to a timespec */
ts.tv_sec = tv->tv_sec;