Browse Source

Fixed formatting to pass check_format

main
Bruce Meagher 3 years ago committed by Daniel Agar
parent
commit
c5f72fb5d9
  1. 6
      src/drivers/magnetometer/rm3100/rm3100.cpp

6
src/drivers/magnetometer/rm3100/rm3100.cpp

@ -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 {

Loading…
Cancel
Save