Missing Compass

So I was having a problem with my drone drifting really bad so I went and did the calibration again in ArduPilot. After doing it it says to reboot and I did. Started it back up and get a message Compass Missing. Checked a few things and did reboot again and it was the same. Shut it all down and came back to it a half hour later and everything was showing correct with no Miss Compass message. So I am not sure if it actually did a recalibration or not. Any suggestions on this? Tried frying it but the wind had picked up a bit and the drift was out of control.