Mercurial > public > hwos_code
comparison src/start.asm @ 207:f5d909e03f52
charge indicator on surface screen
author | heinrichsweikamp |
---|---|
date | Sat, 06 Dec 2014 21:04:27 +0100 |
parents | 93085f540746 |
children | 8636efc5c6c5 |
comparison
equal
deleted
inserted
replaced
206:031d875200ca | 207:f5d909e03f52 |
---|---|
107 movff int_I_pres_respiration+0,int_I_pres_surface+0 ; copy for desat routine | 107 movff int_I_pres_respiration+0,int_I_pres_surface+0 ; copy for desat routine |
108 movff int_I_pres_respiration+1,int_I_pres_surface+1 | 108 movff int_I_pres_respiration+1,int_I_pres_surface+1 |
109 | 109 |
110 extern deco_reset | 110 extern deco_reset |
111 call deco_reset | 111 call deco_reset |
112 clrf nofly_time+0 ; Reset NoFly | |
113 clrf nofly_time+1 | |
114 clrf desaturation_time+0 ; Reset Desat | |
115 clrf desaturation_time+1 | |
116 | 112 |
117 call rtc_init ; init clock | 113 call rtc_init ; init clock |
118 | 114 |
119 movlw HIGH .512 ; =2 | 115 movlw HIGH .512 ; =2 |
120 movwf EEADRH | 116 movwf EEADRH |