From cd7b086b12fa9af6bdeacfaa91e9ad94f411a6be Mon Sep 17 00:00:00 2001 From: Rocco Marco Guglielmi Date: Thu, 2 Jun 2016 13:10:18 +0000 Subject: Small indent fixes git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@9554 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/lib/peripherals/sensors/hal_sensors.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'os/hal/lib') diff --git a/os/hal/lib/peripherals/sensors/hal_sensors.h b/os/hal/lib/peripherals/sensors/hal_sensors.h index db8d10269..fc9268224 100644 --- a/os/hal/lib/peripherals/sensors/hal_sensors.h +++ b/os/hal/lib/peripherals/sensors/hal_sensors.h @@ -45,8 +45,8 @@ * @brief BaseSensor specific methods. */ #define _base_sensor_methods_alone \ - /* Get number of axes.*/ \ - size_t (*get_axes_number)(void *instance); \ + /* Get number of channels.*/ \ + size_t (*get_channels_number)(void *instance); \ /* Reads the sensor raw data.*/ \ msg_t (*read_raw)(void *instance, int32_t axes[]); \ /* Reads the sensor returning normalized data.*/ \ @@ -92,14 +92,14 @@ typedef struct { * @{ */ /** - * @brief Sensors get axes number. + * @brief Sensors get channels number. * * @param[in] ip pointer to a @p BaseSensor or derived class. - * @return The number of axes of the BaseSensor + * @return The number of channels of the BaseSensor * * @api */ -#define sensorGetAxesNumber(ip) (ip)->vmt_basesensor->get_axes_number(ip) +#define sensorGetChannelNumber(ip) (ip)->vmt_basesensor->get_channels_number(ip) /** * @brief Sensors read raw data. -- cgit v1.2.3