You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, while configuring my sensor I noticed the following:
Inside ICM_20948_set_sample_rate the high bytes are taken by left shifting instead of right shifting (in line 795 of ICM_20948_C.c)
"uint8_t div1 = (smplrt.a << 8);"
these bytes are almost always zero so it mostly won't matter, but it is an instant fix anyhow.
yaniv.
The text was updated successfully, but these errors were encountered:
Hi, while configuring my sensor I noticed the following:
Inside ICM_20948_set_sample_rate the high bytes are taken by left shifting instead of right shifting (in line 795 of ICM_20948_C.c)
"uint8_t div1 = (smplrt.a << 8);"
these bytes are almost always zero so it mostly won't matter, but it is an instant fix anyhow.
yaniv.
The text was updated successfully, but these errors were encountered: