diff options
-rw-r--r-- | nuttx/configs/sim/README.txt | 4 | ||||
-rw-r--r-- | nuttx/drivers/sensors/mpl115a.c | 3 | ||||
-rw-r--r-- | nuttx/include/nuttx/wdog.h | 2 | ||||
-rw-r--r-- | nuttx/libc/time/lib_settimeofday.c | 1 |
4 files changed, 6 insertions, 4 deletions
diff --git a/nuttx/configs/sim/README.txt b/nuttx/configs/sim/README.txt index e72117711..6d6192a33 100644 --- a/nuttx/configs/sim/README.txt +++ b/nuttx/configs/sim/README.txt @@ -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 diff --git a/nuttx/drivers/sensors/mpl115a.c b/nuttx/drivers/sensors/mpl115a.c index b5d64b117..a5b940ab7 100644 --- a/nuttx/drivers/sensors/mpl115a.c +++ b/nuttx/drivers/sensors/mpl115a.c @@ -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 diff --git a/nuttx/include/nuttx/wdog.h b/nuttx/include/nuttx/wdog.h index bfeffe87f..c249b8505 100644 --- a/nuttx/include/nuttx/wdog.h +++ b/nuttx/include/nuttx/wdog.h @@ -172,4 +172,4 @@ int wd_gettime(WDOG_ID wdog); } #endif -#endif /* _WDOG_H_ */ +#endif /* __INCLUDE_NUTTX_WDOG_H */ diff --git a/nuttx/libc/time/lib_settimeofday.c b/nuttx/libc/time/lib_settimeofday.c index 459f6d083..4c71c105c 100644 --- a/nuttx/libc/time/lib_settimeofday.c +++ b/nuttx/libc/time/lib_settimeofday.c @@ -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; |