Mercurial > public > hwos_code
changeset 91:917393caf559
minor, always re-init compass in calibration loop
author | heinrichsweikamp |
---|---|
date | Tue, 15 Apr 2014 15:08:16 +0200 |
parents | 3274e87fd027 |
children | 7ca1105751c7 |
files | src/testmode.asm |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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