Update CompassSensor.cpp