|
|
|
@ -123,9 +123,9 @@ int RM3100::self_test()
@@ -123,9 +123,9 @@ int RM3100::self_test()
|
|
|
|
|
// If the x, y, or z LR oscillators malfunctioned then the self test failed.
|
|
|
|
|
if ((cmd & BIST_XYZ_OK) ^ BIST_XYZ_OK) { |
|
|
|
|
PX4_ERR("built-in self test failed: 0x%2X x:%s y:%s z:%s", cmd, |
|
|
|
|
cmd & 0x10 ? "Pass" : "Fail", |
|
|
|
|
cmd & 0x20 ? "Pass" : "Fail", |
|
|
|
|
cmd & 0x40 ? "Pass" : "Fail" ); |
|
|
|
|
cmd & 0x10 ? "Pass" : "Fail", |
|
|
|
|
cmd & 0x20 ? "Pass" : "Fail", |
|
|
|
|
cmd & 0x40 ? "Pass" : "Fail" ); |
|
|
|
|
return PX4_ERROR; |
|
|
|
|
|
|
|
|
|
} else { |
|
|
|
|