Mercurial > public > hwos_code
comparison src/divemode.asm @ 83:eb72c8865f47
Test with graphic compass
author | heinrichsweikamp |
---|---|
date | Mon, 17 Mar 2014 23:48:30 +0100 |
parents | 50697bd41c54 |
children | 3bbbfab9818f |
comparison
equal
deleted
inserted
replaced
82:0653dd581c26 | 83:eb72c8865f47 |
---|---|
115 btfsc oneminupdate ; one minute tasks | 115 btfsc oneminupdate ; one minute tasks |
116 rcall update_divemode60 ; Update clock, etc. | 116 rcall update_divemode60 ; Update clock, etc. |
117 | 117 |
118 btfss quarter_second_update | 118 btfss quarter_second_update |
119 bra diveloop_loop4a | 119 bra diveloop_loop4a |
120 | |
120 bcf quarter_second_update | 121 bcf quarter_second_update |
121 movlw .6 | 122 movlw .6 |
122 cpfseq menupos3 ; in compass view? | 123 cpfseq menupos3 ; in compass view? |
123 bra diveloop_loop4a ; No | 124 bra diveloop_loop4a ; No |
124 call TFT_dive_compass_heading ; Yes, update compass heading value | 125 call TFT_dive_compass_heading ; Yes, update compass heading value |