aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/lib/peripherals/sensors/hal_compass.h
diff options
context:
space:
mode:
authorRocco Marco Guglielmi <roccomarco.guglielmi@live.com>2016-06-06 18:51:33 +0000
committerRocco Marco Guglielmi <roccomarco.guglielmi@live.com>2016-06-06 18:51:33 +0000
commit2bc539dc98841f5fd04f77475e5687913c11e88f (patch)
tree04262284cb002cc890d63d77d7695d61b6bf62f8 /os/hal/lib/peripherals/sensors/hal_compass.h
parent1a7543117ce07e130984f0d66fd738bd45bc1be8 (diff)
downloadChibiOS-2bc539dc98841f5fd04f77475e5687913c11e88f.tar.gz
ChibiOS-2bc539dc98841f5fd04f77475e5687913c11e88f.tar.bz2
ChibiOS-2bc539dc98841f5fd04f77475e5687913c11e88f.zip
Added new sensor classes.
Small fixes on old classes. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@9598 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/lib/peripherals/sensors/hal_compass.h')
-rw-r--r--os/hal/lib/peripherals/sensors/hal_compass.h4
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.