Skip to content

Commit af1334f

Browse files
committed
Fix code spelling check
1 parent 4f2a5bc commit af1334f

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

src/ComponentObject.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ class ComponentObject {
5656
public:
5757
/**
5858
* @brief Initializing the component.
59-
* @param[in] init pointer to device specific initalization structure.
59+
* @param[in] init pointer to device specific initialization structure.
6060
* @retval "0" in case of success, an error code otherwise.
6161
*/
6262
virtual int Init() = 0;

src/vl53l1_def.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -392,13 +392,13 @@ typedef uint8_t VL53L1_State;
392392
typedef uint8_t VL53L1_SmudgeCorrectionModes;
393393

394394
#define VL53L1_SMUDGE_CORRECTION_NONE ((VL53L1_SmudgeCorrectionModes) 0)
395-
/*!< Smudge correction is applied continously accross the rangings */
395+
/*!< Smudge correction is applied continuously across the rangings */
396396
#define VL53L1_SMUDGE_CORRECTION_CONTINUOUS ((VL53L1_SmudgeCorrectionModes) 1)
397-
/*!< Smudge correction is applied continously accross the rangings */
397+
/*!< Smudge correction is applied continuously across the rangings */
398398
#define VL53L1_SMUDGE_CORRECTION_SINGLE ((VL53L1_SmudgeCorrectionModes) 2)
399-
/*!< Smudge correction is applied only once accross the rangings */
399+
/*!< Smudge correction is applied only once across the rangings */
400400
#define VL53L1_SMUDGE_CORRECTION_DEBUG ((VL53L1_SmudgeCorrectionModes) 3)
401-
/*!< Smudge detection is applied continously but Xtalk values are not
401+
/*!< Smudge detection is applied continuously but Xtalk values are not
402402
* updated automatically within the driver
403403
*/
404404

src/vl53l1_error_codes.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ typedef int8_t VL53L1_Error;
142142
/*!< Zone dynamic config GPH ID check failed - API out of sync */
143143

144144
#define VL53L1_ERROR_XTALK_EXTRACTION_NO_SAMPLE_FAIL ((VL53L1_Error) - 22)
145-
/*!< Thrown when run_xtalk_extraction fn has 0 succesful samples
145+
/*!< Thrown when run_xtalk_extraction fn has 0 successful samples
146146
* when using the full array to sample the xtalk. In this case there is
147147
* not enough information to generate new Xtalk parm info. The function
148148
* will exit and leave the current xtalk parameters unaltered
@@ -237,7 +237,7 @@ typedef int8_t VL53L1_Error;
237237
* notification only, xtalk pulse and shape have still been generated
238238
*/
239239
#define VL53L1_WARNING_XTALK_NO_SAMPLES_FOR_GRADIENT ((VL53L1_Error) - 39)
240-
/*!< Thrown to notify that some of teh xtalk samples used for gradient
240+
/*!< Thrown to notify that some of the xtalk samples used for gradient
241241
* generation did not yield valid ranging pulse data while attempting to
242242
* measure the xtalk signal in vl53l1_run_xtalk_extract(). This can
243243
* signify that any one of the zones 0-3 yielded no successful samples.

0 commit comments

Comments
 (0)