STMems_Standard_C_drivers icon indicating copy to clipboard operation
STMems_Standard_C_drivers copied to clipboard

"threshold" is misspelled as "treshold" in many drivers

Open arbrauns opened this issue 11 months ago • 1 comments

Device part numbers

$ rg --files-with-matches treshold | cut -d/ -f1 | sort -u
a3g4250d_STdC
ais328dq_STdC
ais3624dq_STdC
h3lis100dl_STdC
h3lis331dl_STdC
i3g4250d_STdC
iis2mdc_STdC
iis328dq_STdC
ism303dac_STdC
lis2mdl_STdC
lis331dlh_STdC
lps22ch_STdC
lps22hh_STdC
lps27hhtw_STdC
lps27hhw_STdC
lsm303agr_STdC
lsm303ah_STdC

Type of bug

driver

Describe the bug

The word "threshold" is misspelled as "treshold" in some function names and comments.

Additional context

This was introduced with the very first driver in the repository and has been copy-pasted ever since. Notably some functions in that commit were spelled correctly.

arbrauns avatar Mar 11 '24 12:03 arbrauns

I'll address it in next release of STdC drivers. Thanks!

avisconti avatar Mar 19 '24 08:03 avisconti

Fixed by 637ee8f93e0

avisconti avatar May 14 '24 14:05 avisconti