lsm303agr: fix some comments, move helper macros out of defs.h

Signed-off-by: Jon Trulson <jtrulson@ics.com>
This commit is contained in:
Jon Trulson
2017-04-19 16:01:13 -06:00
parent 6e4faefe15
commit fe4e97f5dc
4 changed files with 29 additions and 29 deletions

View File

@@ -194,7 +194,7 @@ namespace upm {
* Set an operating power mode. There are 3 modes available: low
* power, normal, and high resolution.
*
* @param usage One of the LSM303AGR_POWER_MODE_T values. The
* @param mode One of the LSM303AGR_POWER_MODE_T values. The
* default set at initialization time is
* LSM303AGR_POWER_HIGH_RESOLUTION.
* @throws std::runtime_error on failure
@@ -204,7 +204,7 @@ namespace upm {
/**
* Set the accelerometer output data rate (ODR)
*
* @param usage One of the LSM303AGR_A_ODR_T values. The default
* @param odr One of the LSM303AGR_A_ODR_T values. The default
* set at initialization time is LSM303AGR_A_ODR_100HZ.
* @throws std::runtime_error on failure
*/
@@ -213,7 +213,7 @@ namespace upm {
/**
* Set the magnetometer output data rate (ODR)
*
* @param usage One of the LSM303AGR_CFG_A_M_ODR_T values.
* @param odr One of the LSM303AGR_CFG_A_M_ODR_T values.
* The default set at initialization time is
* LSM303AGR_CFG_A_M_ODR_10HZ.
* @throws std::runtime_error on failure