Looking at the I2C address (0x0D), your magnetometer breakout is using a QMC5883L rather than a HMC5883L, (despite the fact that your breakout may have HMC5883L written on it). You'll need to use a QMC5883L compatible library instead.
Looking at the I2C address (0x0D), your magnetometer breakout is using a QMC5883L rather than a HMC5883L, (despite the fact that your breakout may have HMC5883L written on it). You'll need to use a QMC5883L compatible library instead.