Skip to content

Commit e91b0ec

Browse files
committed
fix: typo
Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
1 parent 210cc55 commit e91b0ec

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

src/ISM330DHCXSensor.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -758,7 +758,7 @@ ISM330DHCXStatusTypeDef ISM330DHCXSensor::WriteReg(uint8_t reg, uint8_t data)
758758

759759
/*
760760
* @brief Get the ISM330DHCX Status of the Event
761-
* @param Status pointer to a structur Event_Status_t
761+
* @param Status pointer to a structure Event_Status_t
762762
* @retval 0 in case of success, an error code otherwise
763763
*/
764764
ISM330DHCXStatusTypeDef ISM330DHCXSensor::ACC_GetEventStatus(ISM330DHCX_Event_Status_t *Status)
@@ -902,7 +902,7 @@ ISM330DHCXStatusTypeDef ISM330DHCXSensor::ACC_Get_DRDY_Status(uint8_t *Status)
902902
/**
903903
* @brief Set HP filter for ISM330DHCX accelerometer
904904
* @param CutOff value to set frequency
905-
* @retval 0 in case of succes, an error code otherwise
905+
* @retval 0 in case of success, an error code otherwise
906906
*/
907907
ISM330DHCXStatusTypeDef ISM330DHCXSensor::ACC_Enable_HP_Filter(ism330dhcx_hp_slope_xl_en_t CutOff)
908908
{
@@ -986,7 +986,7 @@ ISM330DHCXStatusTypeDef ISM330DHCXSensor::GYRO_Get_DRDY_Status(uint8_t *Status)
986986
/**
987987
* @brief Set HP filter for ISM330DHCX gyroscope
988988
* @param CutOff value to set frequency
989-
* @retval 0 in case of succes, an error code otherwise
989+
* @retval 0 in case of success, an error code otherwise
990990
*/
991991
ISM330DHCXStatusTypeDef ISM330DHCXSensor::GYRO_Enable_HP_Filter(ism330dhcx_hpm_g_t CutOff)
992992
{

src/ism330dhcx_reg.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1495,7 +1495,7 @@ int32_t ism330dhcx_steps_reset(ism330dhcx_ctx_t *ctx)
14951495

14961496
/**
14971497
* @defgroup ISM330DHCX_common
1498-
* @brief This section groups common usefull functions.
1498+
* @brief This section groups common useful functions.
14991499
* @{
15001500
*
15011501
*/
@@ -1670,7 +1670,7 @@ int32_t ism330dhcx_ln_pg_write_byte(ism330dhcx_ctx_t *ctx, uint16_t add,
16701670
* @param ctx Read / write interface definitions.(ptr)
16711671
* @param buf Page line address.(ptr)
16721672
* @param val Value to write.
1673-
* @param len buffer lengh.
1673+
* @param len buffer length.
16741674
* @retval Interface status (MANDATORY: return 0 -> no Error).
16751675
*
16761676
*/
@@ -3817,7 +3817,7 @@ int32_t ism330dhcx_i2c_interface_get(ism330dhcx_ctx_t *ctx,
38173817
/**
38183818
* @defgroup ISM330DHCX_interrupt_pins
38193819
* @brief This section groups all the functions that manage
3820-
* interrup pins
3820+
* interrupt pins
38213821
* @{
38223822
*
38233823
*/

0 commit comments

Comments
 (0)