diff options
Diffstat (limited to 'os/hal/lib/peripherals/sensors/hal_gyroscope.h')
-rw-r--r-- | os/hal/lib/peripherals/sensors/hal_gyroscope.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/os/hal/lib/peripherals/sensors/hal_gyroscope.h b/os/hal/lib/peripherals/sensors/hal_gyroscope.h index 66be13792..3126224ca 100644 --- a/os/hal/lib/peripherals/sensors/hal_gyroscope.h +++ b/os/hal/lib/peripherals/sensors/hal_gyroscope.h @@ -101,12 +101,12 @@ typedef struct { * @brief Gyroscope get axes number.
*
* @param[in] ip pointer to a @p BaseGyroscope class.
- * @return The number of axes of the BaseSensor
+ * @return The number of axes of the BaseGyroscope
*
* @api
*/
#define gyroscopeGetAxesNumber(ip) \
- (ip)->vmt_basegyroscope->get_axes_number(ip)
+ (ip)->vmt_basegyroscope->get_channels_number(ip)
/**
* @brief Gyroscope read raw data.
|