comparison code_part1/OSTC_code_asm_part1/divemode.asm @ 498:4c7f7807b250

minor fixes in german layout
author heinrichsweikamp
date Mon, 14 Nov 2011 08:12:13 +0100
parents e9b1f162799d
children 24e018713ea2
comparison
equal deleted inserted replaced
497:06db5dd9149f 498:4c7f7807b250
147 147
148 btfsc menubit ; Divemode menu active? 148 btfsc menubit ; Divemode menu active?
149 call test_switches_divemode_menu ; Yes, check switches divemode menu 149 call test_switches_divemode_menu ; Yes, check switches divemode menu
150 150
151 btfss divemode ; Dive finished? 151 btfss divemode ; Dive finished?
152 bra end_dive ; Dive finished! 152 goto end_dive ; Dive finished!
153 153
154 btfsc pressure_refresh ; new pressure available? 154 btfsc pressure_refresh ; new pressure available?
155 call update_divemode1 ; Yes, display new depth 155 call update_divemode1 ; Yes, display new depth
156 bcf pressure_refresh ; until new pressure is available 156 bcf pressure_refresh ; until new pressure is available
157 157
188 cpfsgt timeout_counter3 ; ... longer then premenu_timeout 188 cpfsgt timeout_counter3 ; ... longer then premenu_timeout
189 return ; No! 189 return ; No!
190 190
191 bcf premenu ; Yes, so clear "Menu?" and clear pre_menu bit 191 bcf premenu ; Yes, so clear "Menu?" and clear pre_menu bit
192 call PLED_menu_clear ; Remove "Menu?" 192 call PLED_menu_clear ; Remove "Menu?"
193 call PLED_divemode_mask ; And redraw mask (Redraw missing "T" from "Tauchzeit" in german text version)
193 return 194 return
194 195
195 divemode_apnoe_tasks: ; 1 sec. Apnoe tasks 196 divemode_apnoe_tasks: ; 1 sec. Apnoe tasks
196 call PLED_display_apnoe_descent ; Show descent timer 197 call PLED_display_apnoe_descent ; Show descent timer
197 198