This may be an odd idea, but perhaps you could reprogram the sports mode switch into an atti mode switch and fly using atti mode instead. If I recall correctly, atti mode does not utilize the compass.
The downside is though, you need to be more experienced into controlling your quad as there is...