Skip to content

Commit 9c72fb9

Browse files
authored
Fix spelling of Bosch library files (#120)
* docs: `bhy2.h` spelling * docs: `bhy2_defs.h` spelling * docs: `bhy2_hif.h` spelling * docs: `bhy2.h` spelling * docs: `bhy2_hif` spelling * docs: `bhy2_hif.h` spelling
1 parent 6bde04a commit 9c72fb9

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

src/bosch/bhy2.h

+4-4
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ int8_t bhy2_erase_flash(uint32_t start_address, uint32_t end_addr, struct bhy2_d
285285
/**
286286
* @brief Function to upload firmware to Flash
287287
* @param[in] firmware : Reference to the data buffer containing the firmware
288-
* @param[in] length : Size of the firwmare
288+
* @param[in] length : Size of the firmware
289289
* @param[in] dev : Device reference
290290
* @return API error codes
291291
*/
@@ -484,8 +484,8 @@ int8_t bhy2_set_calibration_profile(uint8_t sensor_id,
484484
int8_t bhy2_get_post_mortem_data(uint8_t *post_mortem, uint32_t buffer_len, uint32_t *actual_len, struct bhy2_dev *dev);
485485

486486
/**
487-
* @brief Function to link a callback and relevant reference when the sensor event is available in teh FIFO
488-
* @param[in] sensor_id : Sensor ID of the virtal sensor
487+
* @brief Function to link a callback and relevant reference when the sensor event is available in the FIFO
488+
* @param[in] sensor_id : Sensor ID of the virtual sensor
489489
* @param[in] callback : Reference of the callback function
490490
* @param[in] callback_ref : Reference needed inside the callback function. Can be NULL
491491
* @param[in] dev : Device reference
@@ -565,7 +565,7 @@ int8_t bhy2_set_data_injection_mode(enum bhy2_data_inj_mode mode, struct bhy2_de
565565
#if BHY2_CFG_DELEGATE_FIFO_PARSE_CB_INFO_MGMT
566566
/**
567567
* @brief Function This function is called to get the callback info for a particular sensor when its frame is extracted from the FIFO
568-
* @param[in] sensor_id : Sensor ID of the virtal sensor
568+
* @param[in] sensor_id : Sensor ID of the virtual sensor
569569
* @param[out] info : Reference of the callback function,
570570
* callee is expected to fill the fields of callback and callback_ref only (no need to provide event_size)
571571
* @param[in] dev : Device reference

src/bosch/bhy2_defs.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -631,7 +631,7 @@ struct bhy2_spt_bits
631631
uint8_t cpol : 1; /**< spi clock polarity. */
632632
uint8_t cpha : 1; /**< spi clock phase. */
633633
/*! byte 2 */
634-
uint8_t delay_val : 6; /**< mutiples of 50us. */
634+
uint8_t delay_val : 6; /**< multiples of 50us. */
635635
uint8_t cs_level : 1; /**< chip select level. */
636636
uint8_t lsb_first : 1; /**< least significant byte first. */
637637
/*! byte 3~4 */

src/bosch/bhy2_hif.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ int8_t bhy2_hif_set_sensor_ctrl(uint8_t sensor_id,
410410
/**
411411
* @brief Function to get the BSX state of a BSX parameter
412412
* @param[in] param_id : Parameter ID of the BSX parameter
413-
* @param[out] bsx_state : Reference to teh data buffer to store the BSX state
413+
* @param[out] bsx_state : Reference to the data buffer to store the BSX state
414414
* @param[in] state_len : Length of the buffer
415415
* @param[out] actual_len : Actual length of the BSX state
416416
* @param[in] hif : HIF device reference

0 commit comments

Comments
 (0)