Workaround to prevent crash during mag calibration
Merge pull request #380 from julianoes/hotfix_mag_calib

Workaround to prevent crash during mag calibration