mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-28 02:36:37 +08:00
Fixed formatting to pass check_format
This commit is contained in:
committed by
Daniel Agar
parent
e66683a059
commit
c5f72fb5d9
@@ -123,9 +123,9 @@ int RM3100::self_test()
|
|||||||
// If the x, y, or z LR oscillators malfunctioned then the self test failed.
|
// If the x, y, or z LR oscillators malfunctioned then the self test failed.
|
||||||
if ((cmd & BIST_XYZ_OK) ^ BIST_XYZ_OK) {
|
if ((cmd & BIST_XYZ_OK) ^ BIST_XYZ_OK) {
|
||||||
PX4_ERR("built-in self test failed: 0x%2X x:%s y:%s z:%s", cmd,
|
PX4_ERR("built-in self test failed: 0x%2X x:%s y:%s z:%s", cmd,
|
||||||
cmd & 0x10 ? "Pass" : "Fail",
|
cmd & 0x10 ? "Pass" : "Fail",
|
||||||
cmd & 0x20 ? "Pass" : "Fail",
|
cmd & 0x20 ? "Pass" : "Fail",
|
||||||
cmd & 0x40 ? "Pass" : "Fail" );
|
cmd & 0x40 ? "Pass" : "Fail" );
|
||||||
return PX4_ERROR;
|
return PX4_ERROR;
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user