   Serial.print(" A:");
   Serial.print(accel, DEC);
   Serial.print(" M:");
-  Serial.println(mag, DEC);
+  Serial.print(mag, DEC);
 }
 
 /**************************************************************************/

  displaySensorDetails();

  /* Optional: Display current status */
  // displaySensorStatus();

  bno.setExtCrystalUse(true);
}

  Serial.print(event.orientation.z, 4);

  /* Optional: Display calibration status */
  displayCalStatus();

  /* Optional: Display sensor status (debug only) */
  //displaySensorStatus();

  /* New line for the next sample */
  Serial.println("");
