summaryrefslogtreecommitdiff
path: root/nuttx/include/nuttx/sensors
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-04-13 14:32:20 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-04-13 14:32:20 -0600
commit3cf6b4d6577c2f467dbb25dd0da8cdc6ad32a7b4 (patch)
tree0f3ba3c03a8e8e5e5ddd7ed6658f9aeefd233228 /nuttx/include/nuttx/sensors
parentb087a6d8732ffb869f3482c62b1b74e7b1869551 (diff)
downloadnuttx-3cf6b4d6577c2f467dbb25dd0da8cdc6ad32a7b4.tar.gz
nuttx-3cf6b4d6577c2f467dbb25dd0da8cdc6ad32a7b4.tar.bz2
nuttx-3cf6b4d6577c2f467dbb25dd0da8cdc6ad32a7b4.zip
More trailing whilespace removal
Diffstat (limited to 'nuttx/include/nuttx/sensors')
-rw-r--r--nuttx/include/nuttx/sensors/lis331dl.h22
-rw-r--r--nuttx/include/nuttx/sensors/qencoder.h2
2 files changed, 12 insertions, 12 deletions
diff --git a/nuttx/include/nuttx/sensors/lis331dl.h b/nuttx/include/nuttx/sensors/lis331dl.h
index 2e83dbe1f..f90c17716 100644
--- a/nuttx/include/nuttx/sensors/lis331dl.h
+++ b/nuttx/include/nuttx/sensors/lis331dl.h
@@ -37,7 +37,7 @@
/** \file
* \author Uros Platise
* \brief ST LIS331DL I2C Device Driver
- **/
+ **/
#ifndef __INCLUDE_NUTTX_SENSORS_LIS331DL_H
#define __INCLUDE_NUTTX_SENSORS_LIS331DL_H
@@ -76,11 +76,11 @@ struct lis331dl_vector_s {
************************************************************************************/
/** Initialize ST LIS331DL Chip
- *
+ *
* \param i2c I2C Device Structure
* \param address I2C Address of the proposed device
* \return Pointer to newly allocated ST LIS331DL structure or NULL on error with errno set.
- *
+ *
* Possible errno as set by this function on error:
* - ENODEV: When device addressed on given address is not compatible or it is not a LIS331DL
* - EFAULT: When there is no device at given address.
@@ -89,10 +89,10 @@ struct lis331dl_vector_s {
EXTERN struct lis331dl_dev_s * lis331dl_init(struct i2c_dev_s * i2c, uint16_t address);
/** Deinitialize ST LIS331DL Chip
- *
+ *
* \param dev Device to LIS331DL device structure, as returned by the lis331dl_init()
* \return OK On success
- *
+ *
**/
EXTERN int lis331dl_deinit(struct lis331dl_dev_s * dev);
@@ -102,8 +102,8 @@ EXTERN int lis331dl_powerup(struct lis331dl_dev_s * dev);
/** Power down device, stop conversion */
EXTERN int lis331dl_powerdown(struct lis331dl_dev_s * dev);
-/** Configure conversion
- *
+/** Configure conversion
+ *
* \param dev Device to LIS331DL device structure
* \param full When set, range of [-9g, 9g] is selected, otherwise [-2g, +2g]
* \param fast When set, conversion operates at 400 Hz, otherwise at 100 Hz
@@ -112,19 +112,19 @@ EXTERN int lis331dl_powerdown(struct lis331dl_dev_s * dev);
EXTERN int lis331dl_setconversion(struct lis331dl_dev_s * dev, bool full, bool fast);
/** Get precision
- *
+ *
* \return Precision of 1 LSB in terms of unit [mg]
**/
EXTERN int lis331dl_getprecision(struct lis331dl_dev_s * dev);
-/** Get sample rate
- *
+/** Get sample rate
+ *
* \return Sample rate in unit of [Hz]
**/
EXTERN int lis331dl_getsamplerate(struct lis331dl_dev_s * dev);
/** Get readings, updates internal data structure
- *
+ *
* \param dev Device to LIS331DL device structure
* \return Ptr to vector acceleration [x,y,z] on success, or NULL on error with errno set.
* If data is not yet ready to be read from the LIS331 then errno is set to EAGAIN otherwise
diff --git a/nuttx/include/nuttx/sensors/qencoder.h b/nuttx/include/nuttx/sensors/qencoder.h
index d21fa1248..01cb900a1 100644
--- a/nuttx/include/nuttx/sensors/qencoder.h
+++ b/nuttx/include/nuttx/sensors/qencoder.h
@@ -53,7 +53,7 @@
*/
/* IOCTL Commands ***********************************************************/
-/* The Quadrature Encode module uses a standard character driver framework.
+/* The Quadrature Encode module uses a standard character driver framework.
* However, since the driver is a devices control interface and not a data
* transfer interface, the majority of the functionality is implemented in
* driver ioctl calls. The PWM ioctal commands are lised below: