It's on the 3D vision sensor circuit board at the front, behind the camera. I confirmed it by disconnecting the flex connector cable to this unit, which gave me a "compass disconnected" error (see attached). I'm a bit surprised DJI didn't try and better isolate the compass from other electronic...