mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 09:18:00 +08:00
Fix minor typos in docs and comments.
This commit is contained in:
committed by
Gregory Nutt
parent
c1c36db37e
commit
46aaec7ba0
@@ -967,10 +967,10 @@ ssize_t up_addrenv_heapsize(FAR const group_addrenv_t *addrenv);
|
||||
*
|
||||
* Description:
|
||||
* After an address environment has been established for a task group (via
|
||||
* up_addrenv_create(). This function may be called to to instantiate
|
||||
* that address environment in the virtual address space. this might be
|
||||
* necessary, for example, to load the code for the task group from a file or
|
||||
* to access address environment private data.
|
||||
* up_addrenv_create(). This function may be called to instantiate
|
||||
* that address environment in the virtual address space. This might be
|
||||
* necessary, for example, to load the code for the task group from a file
|
||||
* or to access address environment private data.
|
||||
*
|
||||
* Input Parameters:
|
||||
* addrenv - The representation of the task address environment previously
|
||||
@@ -997,7 +997,7 @@ int up_addrenv_select(FAR const group_addrenv_t *addrenv,
|
||||
*
|
||||
* Description:
|
||||
* After an address environment has been temporarily instantiated by
|
||||
* up_addrenv_select(), this function may be called to to restore the
|
||||
* up_addrenv_select(), this function may be called to restore the
|
||||
* original address environment.
|
||||
*
|
||||
* Input Parameters:
|
||||
|
||||
@@ -58,11 +58,11 @@
|
||||
* The Low Pass Filter is enabled and the High Pass Filter is disabled.
|
||||
* A filter settling time of 370ms is selected.
|
||||
*
|
||||
* If the user desires a different configuration settings, the the user may
|
||||
* If the user desires different configuration settings, then the user may
|
||||
* either provide a pointer to an array of "struct adxl372_reg_pair_s" that
|
||||
* will be applied to to the sensor upon open(); or dynamically use
|
||||
* the lseek() and write() file_operations functions to set the
|
||||
* sensor configuration as desired.
|
||||
* will be applied to the sensor upon open(); or dynamically use the lseek()
|
||||
* and write() file_operations functions to set the sensor configuration as
|
||||
* desired.
|
||||
*
|
||||
* When using the sensor from the file_operations interface, the sensor is
|
||||
* accessed in Programmed I/O (PIO) mode. (i.e. When the read() function is
|
||||
|
||||
@@ -64,11 +64,11 @@
|
||||
* Range = 500 dps.
|
||||
* Low Pass Filter #1 selected.
|
||||
*
|
||||
* If the user desires a different configuration settings, the the user may
|
||||
* If the user desires different configuration settings, then the user may
|
||||
* either provide a pointer to an array of "struct lsm330_reg_pair_s" that
|
||||
* will be applied to to the sensor upon open(); or dynamically use the
|
||||
* lseek() and write() file_operations functions to set the sensor
|
||||
* configuration as desired.
|
||||
* will be applied to the sensor upon open(); or dynamically use the lseek()
|
||||
* and write() file_operations functions to set the sensor configuration
|
||||
* as desired.
|
||||
*
|
||||
* When using the sensor from the file_operations interface, the sensor is
|
||||
* accessed in Programmed I/O (PIO) mode. (i.e. When the read() function is
|
||||
|
||||
@@ -367,7 +367,7 @@ extern "C"
|
||||
*
|
||||
* Returned Value:
|
||||
* On success zero (OK) is returned; -1 (ERROR) is returned on failure
|
||||
* with the errno variable to to indicate the nature of the failure.
|
||||
* with the errno variable set to indicate the nature of the failure.
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user