diff --git a/configs/sim/README.txt b/configs/sim/README.txt index e72117711e..6d6192a33c 100644 --- a/configs/sim/README.txt +++ b/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/drivers/sensors/mpl115a.c b/drivers/sensors/mpl115a.c index b5d64b1174..a5b940ab7b 100644 --- a/drivers/sensors/mpl115a.c +++ b/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 + * Copyright (C) 2015 Alan Carvalho de Assis + * Author: Alan Carvalho de Assis * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/include/nuttx/wdog.h b/include/nuttx/wdog.h index bfeffe87f5..c249b85058 100644 --- a/include/nuttx/wdog.h +++ b/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/libc/time/lib_settimeofday.c b/libc/time/lib_settimeofday.c index 459f6d083a..4c71c105c1 100644 --- a/libc/time/lib_settimeofday.c +++ b/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;