From 1e6f52e1caf522a5cc89efbe1a31bc5c4e9a13c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ceyhun=20=C5=9Een?= Date: Fri, 17 Jun 2022 12:43:26 +0300 Subject: [PATCH] c++ support fix + typo --- inc/mpu925x.h | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/inc/mpu925x.h b/inc/mpu925x.h index 18232fc..e61a00b 100644 --- a/inc/mpu925x.h +++ b/inc/mpu925x.h @@ -109,7 +109,7 @@ typedef enum mpu925x_magnetometer_bit_mode { * @struct mpu925x_t mpu925x.h mpu925x.h * @brief Main struct for MPU-925X driver. * - * This structs includes sensor data, driver settings and master spesific + * This structs includes sensor data, driver settings and master specific * handle, bus and delay function pointers. * */ typedef struct mpu925x_t { @@ -139,7 +139,7 @@ typedef struct mpu925x_t { /** * @struct master_specific - * @brief Holds master spesific pointers. + * @brief Holds master specific pointers. * */ struct master_specific { uint8_t (*bus_read)(struct mpu925x_t *mpu925x, uint8_t slave_address, uint8_t reg, uint8_t *buffer, uint8_t size); @@ -188,9 +188,6 @@ void mpu925x_set_magnetometer_bit_mode(mpu925x_t *mpu925x, mpu925x_magnetometer_ // C++ compatibility. #ifdef __cplusplus -extern "C" { -#endif // __cplusplus -#ifdef __cplusplus } #endif // __cplusplus