Skip to content

Mistake in unpack_sensor_data #8

Description

@eboustou

When using BMP5_USE_FIXED_POINT, raw_data_t is divided by 64 instead of 65536

/* Division by 2^16(whose equivalent value is 65536) is performed to get temperature data and followed by fixed point digit

(int64_t)((raw_data_t / (float)(float)64.0) * (power(10, BMP5_FIXED_POINT_DIGIT_PRECISION)));

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions