Skip to content
Snippets Groups Projects
Commit 3c252d97 authored by makekam's avatar makekam Committed by Daniel Agar
Browse files

mpu9250 test command use correct mag units (#8313)

parent 7608cec1
No related branches found
No related tags found
No related merge requests found
......@@ -370,9 +370,9 @@ test(enum MPU9250_BUS busid)
err(1, "immediate mag read failed");
}
warnx("mag x: \t% 9.5f\trad/s", (double)m_report.x);
warnx("mag y: \t% 9.5f\trad/s", (double)m_report.y);
warnx("mag z: \t% 9.5f\trad/s", (double)m_report.z);
warnx("mag x: \t% 9.5f\tGa", (double)m_report.x);
warnx("mag y: \t% 9.5f\tGa", (double)m_report.y);
warnx("mag z: \t% 9.5f\tGa", (double)m_report.z);
warnx("mag x: \t%d\traw", (int)m_report.x_raw);
warnx("mag y: \t%d\traw", (int)m_report.y_raw);
warnx("mag z: \t%d\traw", (int)m_report.z_raw);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment