Mercurial > public > hwos_code
diff src/compass_ops.asm @ 626:be8787f2034d
compass3 support for 3.01 branch
author | heinrichsweikamp |
---|---|
date | Sun, 23 Jun 2019 15:21:16 +0200 |
parents | 1ad0531e9078 |
children |
line wrap: on
line diff
--- a/src/compass_ops.asm Sun Jun 23 13:29:17 2019 +0200 +++ b/src/compass_ops.asm Sun Jun 23 15:21:16 2019 +0200 @@ -234,11 +234,11 @@ clrf opt_compass_gain ; Yes, keep at zero banksel common + call I2C_init_compass call I2C_init_accelerometer - call I2C_init_compass -; btfsc compass_type ; compass1? -; bra compass_calibration_loop1 ; Yes, skip gain stuff + btfsc compass_type3 ; compass3? + bra compass_calibration_loop1 ; Yes, skip gain stuff rcall TFT_compass_show_gain ; show the current compass gain