diff options
Diffstat (limited to 'os/hal/lib/peripherals/sensors/hal_compass.h')
-rw-r--r-- | os/hal/lib/peripherals/sensors/hal_compass.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/os/hal/lib/peripherals/sensors/hal_compass.h b/os/hal/lib/peripherals/sensors/hal_compass.h index a9366b2c6..82396b82d 100644 --- a/os/hal/lib/peripherals/sensors/hal_compass.h +++ b/os/hal/lib/peripherals/sensors/hal_compass.h @@ -98,12 +98,12 @@ typedef struct { * @brief Compass get axes number.
*
* @param[in] ip pointer to a @p BaseCompass class.
- * @return The number of axes of the BaseSensor
+ * @return The number of axes of the BaseCompass
*
* @api
*/
#define compassGetAxesNumber(ip) \
- (ip)->vmt_basecompass->get_axes_number(ip)
+ (ip)->vmt_basecompass->get_channels_number(ip)
/**
* @brief Compass read raw data.
|