diff options
Diffstat (limited to 'os/hal/lib/peripherals/include/hal_gyroscope.h')
-rw-r--r-- | os/hal/lib/peripherals/include/hal_gyroscope.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/os/hal/lib/peripherals/include/hal_gyroscope.h b/os/hal/lib/peripherals/include/hal_gyroscope.h index 142832094..4d551d777 100644 --- a/os/hal/lib/peripherals/include/hal_gyroscope.h +++ b/os/hal/lib/peripherals/include/hal_gyroscope.h @@ -46,14 +46,20 @@ /**
* @brief BaseGyroscope specific methods.
*/
-#define _base_gyroscope_methods \
- _base_sensor_methods \
+#define _base_gyroscope_methods_alone \
/* Remove the calibration data.*/ \
msg_t (*reset_calibration)(void *instance); \
/* Invokes the calibration procedure.*/ \
msg_t (*calibrate)(void *instance);
/**
+ * @brief BaseGyroscope specific methods with inherited ones.
+ */
+#define _base_gyroscope_methods \
+ _base_sensor_methods \
+ _base_gyroscope_methods_alone
+
+/**
* @brief @p BaseGyroscope virtual methods table.
*/
struct BaseGyroscopeVMT {
|