STMems_Standard_C_drivers
STMems_Standard_C_drivers copied to clipboard
Weird "5Hz2" ODR constant in several drivers
Device part numbers
$ rg --files-with-matches odr_5hz2 | cut -d/ -f1 | sort -u
ais328dq_STdC
ais3624dq_STdC
iis328dq_STdC
Type of bug
driver
Describe the bug
Several drivers have a 5Hz2
output data rate (ODR) constant with a value that represents 2Hz according to the datasheet. Presumably this is a typo that has been blindly copy-pasted ever since.