mirror of
https://github.com/eclipse/upm.git
synced 2025-03-14 20:47:30 +03:00
bmm150 C example: use correct units in output
Signed-off-by: Jon Trulson <jtrulson@ics.com>
This commit is contained in:
parent
6a4f06d51b
commit
b239866e99
@ -80,7 +80,7 @@ int main(int argc, char **argv)
|
||||
}
|
||||
|
||||
bmm150_get_magnetometer(sensor, &x, &y, &z);
|
||||
printf("Magnetometer x: %f y: %f z: %f g\n",
|
||||
printf("Magnetometer x: %f y: %f z: %f uT\n",
|
||||
x, y, z);
|
||||
|
||||
upm_delay_ms(250);
|
||||
|
Loading…
x
Reference in New Issue
Block a user