Skip to content

LIS2DW12: Conversion function bit-shift reliance in self-test example #184

@marknolan

Description

@marknolan

Device part numbers

LIS2DW12

Describe the bug

This commit as part of v2.3.0 release updated the conversion functions to expect right-aligned (bit shifted right by 2) data whereas up until now it was expecting the 16-bit data as it comes from the chip - as commented here. The examples, in particular the self-test one, has not been updated to right shift the data before calling the lis2dw12_from_fs4_to_mg function.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions