File tree 5 files changed +70
-7
lines changed
5 files changed +70
-7
lines changed Original file line number Diff line number Diff line change
1
+ name : VL53L1 Continuous Integration
2
+ on :
3
+ push :
4
+ branches :
5
+ - master
6
+ paths-ignore :
7
+ - ' *'
8
+ - ' **.md'
9
+ - ' **.txt'
10
+ pull_request :
11
+ paths-ignore :
12
+ - ' *'
13
+ - ' **.md'
14
+ - ' **.txt'
15
+ jobs :
16
+ astyle_check :
17
+ runs-on : ubuntu-latest
18
+ name : AStyle check
19
+ steps :
20
+ # First of all, clone the repo using the checkout action.
21
+ - name : Checkout
22
+ uses : actions/checkout@master
23
+
24
+ - name : Astyle check
25
+ id : Astyle
26
+ uses : stm32duino/actions/astyle-check@master
27
+
28
+ # Use the output from the `Astyle` step
29
+ - name : Astyle Errors
30
+ if : failure()
31
+ run : |
32
+ cat ${{ steps.Astyle.outputs.astyle-result }}
33
+ exit 1
34
+ spell-check :
35
+ runs-on : ubuntu-latest
36
+ name : Spell check
37
+ steps :
38
+ - uses : actions/checkout@master
39
+ - uses : arduino/actions/libraries/spell-check@master
40
+ with :
41
+ ignore-words-list : " ./extras/codespell-ignore-words-list.txt"
42
+ lib_build :
43
+ runs-on : ubuntu-latest
44
+ name : Library compilation
45
+ steps :
46
+ # First of all, clone the repo using the checkout action.
47
+ - name : Checkout
48
+ uses : actions/checkout@master
49
+
50
+ - name : Compilation
51
+ id : Compile
52
+ uses : stm32duino/actions/compile-examples@master
53
+ with :
54
+ board-pattern : " NUCLEO_L476RG"
55
+
56
+ # Use the output from the `Compile` step
57
+ - name : Compilation Errors
58
+ if : failure()
59
+ run : |
60
+ cat ${{ steps.Compile.outputs.compile-result }}
61
+ exit 1
Original file line number Diff line number Diff line change
1
+ hist
2
+ pres
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ class ComponentObject {
56
56
public:
57
57
/* *
58
58
* @brief Initializing the component.
59
- * @param[in] init pointer to device specific initalization structure.
59
+ * @param[in] init pointer to device specific initialization structure.
60
60
* @retval "0" in case of success, an error code otherwise.
61
61
*/
62
62
virtual int Init () = 0;
Original file line number Diff line number Diff line change @@ -392,13 +392,13 @@ typedef uint8_t VL53L1_State;
392
392
typedef uint8_t VL53L1_SmudgeCorrectionModes ;
393
393
394
394
#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 */
396
396
#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 */
398
398
#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 */
400
400
#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
402
402
* updated automatically within the driver
403
403
*/
404
404
Original file line number Diff line number Diff line change @@ -142,7 +142,7 @@ typedef int8_t VL53L1_Error;
142
142
/*!< Zone dynamic config GPH ID check failed - API out of sync */
143
143
144
144
#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
146
146
* when using the full array to sample the xtalk. In this case there is
147
147
* not enough information to generate new Xtalk parm info. The function
148
148
* will exit and leave the current xtalk parameters unaltered
@@ -237,7 +237,7 @@ typedef int8_t VL53L1_Error;
237
237
* notification only, xtalk pulse and shape have still been generated
238
238
*/
239
239
#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
241
241
* generation did not yield valid ranging pulse data while attempting to
242
242
* measure the xtalk signal in vl53l1_run_xtalk_extract(). This can
243
243
* signify that any one of the zones 0-3 yielded no successful samples.
You can’t perform that action at this time.
0 commit comments