Calibrate the magnetometer by getting the value from global data (EEPROM)