Sudden Compass swing

Discovered a compass anomaly in some video footage taken about 8 months ago where the compass suddenly swings from 354 degrees to 284 degrees after about a 1 minute into a test flight on the initial Chibios release. Appreciate any input as to what can cause this kind of sudden anomaly. Unfortunately logs are no longer available.