Mercurial > public > mk2
comparison code_part1/OSTC_code_asm_part1/customview.asm @ 323:b7940978edc9
Fix "Future TTS" display customview.
* Display "---" during wait.
* Display ascent when there is no stops.
author | JeanDo |
---|---|
date | Sat, 07 May 2011 00:52:20 +0200 |
parents | b7e4e74c0e17 |
children | deced1cacff7 |
comparison
equal
deleted
inserted
replaced
322:676d18bce8d7 | 323:b7940978edc9 |
---|---|
240 bz customview_toggle ; Yes: use next Customview ! | 240 bz customview_toggle ; Yes: use next Customview ! |
241 | 241 |
242 btfsc no_deco_customviews ; no-deco-mode-flag = 1 | 242 btfsc no_deco_customviews ; no-deco-mode-flag = 1 |
243 bra customview_toggle ; Yes, use next Customview! | 243 bra customview_toggle ; Yes, use next Customview! |
244 | 244 |
245 clrf WREG ; Reset extra TTS | 245 setf WREG ; WAIT marker: display "---" |
246 movff WREG,int_O_extra_ascenttime+0 | 246 movff WREG,int_O_extra_ascenttime+0 |
247 movff WREG,int_O_extra_ascenttime+1 | 247 movff WREG,int_O_extra_ascenttime+1 |
248 | 248 |
249 movlw 1 | 249 movlw 1 |
250 movwf apnoe_mins ; Start compute after next cycle. | 250 movwf apnoe_mins ; Start compute after next cycle. |