Skip to content
Commit 4f8c90ea authored by Tristan Honscheid's avatar Tristan Honscheid Committed by Carles Cufí
Browse files

sensor: akm09918c: Fix conversion constant



The sensor driver uses the value 500 to convert bit counts to microgauss
values, but it should actually be 1500. Edit the driver unit test to use
the macro instead of a magic number.

Signed-off-by: default avatarTristan Honscheid <honscheid@google.com>
parent ff54350e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment