Mercurial > public > hwos_code
comparison src/compass_ops.asm @ 560:b7eb98dbd800
bump to 2.96beta (REFACTORED VERSION)
author | heinrichsweikamp |
---|---|
date | Wed, 31 Jan 2018 19:39:37 +0100 |
parents | 64a45f203144 |
children | b8f45b57302d |
comparison
equal
deleted
inserted
replaced
559:9cb967d844f0 | 560:b7eb98dbd800 |
---|---|
215 btfsc STATUS,N ; <0? | 215 btfsc STATUS,N ; <0? |
216 clrf opt_compass_gain ; Yes, keep at zero | 216 clrf opt_compass_gain ; Yes, keep at zero |
217 | 217 |
218 banksel common | 218 banksel common |
219 call I2C_init_accelerometer | 219 call I2C_init_accelerometer |
220 call I2C_init_compass_fast | 220 call I2C_init_compass |
221 | 221 |
222 btfsc compass_type ; compass1? | 222 btfsc compass_type ; compass1? |
223 bra compass_calibration_loop1 ; Yes, skip gain stuff | 223 bra compass_calibration_loop1 ; Yes, skip gain stuff |
224 | 224 |
225 ; rcall TFT_compass_show_gain ; Show the current compass gain | 225 ; rcall TFT_compass_show_gain ; Show the current compass gain |