comparison src/start.asm @ 16:7b06f20881be

calm compass reading for minor heading changes
author heinrichsweikamp
date Sun, 16 Jun 2013 19:14:16 +0200
parents 55dfc8f6093f
children 79b2084fd75a
comparison
equal deleted inserted replaced
15:8185edeeedb2 16:7b06f20881be
224 clrf flag4 224 clrf flag4
225 clrf flag5 225 clrf flag5
226 clrf flag6 226 clrf flag6
227 clrf flag7 227 clrf flag7
228 clrf flag8 228 clrf flag8
229 clrf flag9
229 bsf tft_is_dimming ; TFT is dimming up (soon), ignore ambient sensor! 230 bsf tft_is_dimming ; TFT is dimming up (soon), ignore ambient sensor!
230 ; Select high altitude (Fly) mode? 231 ; Select high altitude (Fly) mode?
231 movff last_surfpressure_30min+0,sub_b+0 232 movff last_surfpressure_30min+0,sub_b+0
232 movff last_surfpressure_30min+1,sub_b+1 233 movff last_surfpressure_30min+1,sub_b+1
233 movlw HIGH high_altitude_threshold 234 movlw HIGH high_altitude_threshold