# HG changeset patch # User heinrichsweikamp # Date 1397567296 -7200 # Node ID 917393caf55916358acdabbf75c3800f1fbdebac # Parent 3274e87fd027c5f04cbacce1a160a279b5ef2457 minor, always re-init compass in calibration loop diff -r 3274e87fd027 -r 917393caf559 src/testmode.asm --- a/src/testmode.asm Tue Apr 15 14:40:49 2014 +0200 +++ b/src/testmode.asm Tue Apr 15 15:08:16 2014 +0200 @@ -167,8 +167,9 @@ global compass_calibration_loop compass_calibration_loop: ; Compass calibration bsf no_sensor_int ; No Sensor ISR + call I2C_sleep_accelerometer ; Stop accelerometer + call I2C_sleep_compass ; Stop compass call TFT_ClearScreen - ; Mask WIN_COLOR color_greenish WIN_SMALL .16,.0