Browse Source

units in comments

sbg
px4dev 13 years ago
parent
commit
116306ae3e
  1. 2
      apps/drivers/drv_accel.h
  2. 4
      apps/drivers/drv_gyro.h

2
apps/drivers/drv_accel.h

@ -109,7 +109,7 @@ ORB_DECLARE(sensor_accel);
/** set the accel measurement range to handle at least (arg) g */ /** set the accel measurement range to handle at least (arg) g */
#define ACCELIOCSRANGE _ACCELIOC(7) #define ACCELIOCSRANGE _ACCELIOC(7)
/** get the current accel measurement range */ /** get the current accel measurement range in g */
#define ACCELIOCGRANGE _ACCELIOC(8) #define ACCELIOCGRANGE _ACCELIOC(8)
#endif /* _DRV_ACCEL_H */ #endif /* _DRV_ACCEL_H */

4
apps/drivers/drv_gyro.h

@ -103,10 +103,10 @@ ORB_DECLARE(sensor_gyro);
/** get the gyro scaling constants into (arg) */ /** get the gyro scaling constants into (arg) */
#define GYROIOCGSCALE _GYROIOC(5) #define GYROIOCGSCALE _GYROIOC(5)
/** set the gyro measurement range to handle at least (arg) g */ /** set the gyro measurement range to handle at least (arg) degrees per second */
#define GYROIOCSRANGE _GYROIOC(6) #define GYROIOCSRANGE _GYROIOC(6)
/** get the current gyro measurement range */ /** get the current gyro measurement range in degrees per second */
#define GYROIOCGRANGE _GYROIOC(7) #define GYROIOCGRANGE _GYROIOC(7)
#endif /* _DRV_GYRO_H */ #endif /* _DRV_GYRO_H */

Loading…
Cancel
Save