diff src/divemenu_tree.asm @ 53:2825f1d2262f

NEW: Dynamic Gaslist in OC mode (Divemode, Customview 7)
author heinrichsweikamp
date Sun, 29 Sep 2013 18:53:22 +0200
parents 11d4fc797f74
children 53a99a2dc6a1
line wrap: on
line diff
--- a/src/divemenu_tree.asm	Sun Sep 29 16:33:03 2013 +0200
+++ b/src/divemenu_tree.asm	Sun Sep 29 18:53:22 2013 +0200
@@ -70,6 +70,11 @@
     bsf     reset_average_depth     ; Set Flag
     bra     do_exit_divemode_menu   ; And exit
 
+
+do_switch_gas6:
+    movlw   .6
+    movwf   active_gas              ; Gas6 selected
+    bra     do_switch_gasX
     extern  diveloop_loop4
     extern  timeout_divemode_menu2
 do_switch_gas:
@@ -129,7 +134,7 @@
         MENU_CALL       tO2Minus,               do_dive_mO2
         MENU_CALL       tHePlus,                do_dive_pHe
         MENU_CALL       tHeMinus,               do_dive_mHe
-        MENU_CALL       tEnter,                 do_switch_gasX
+        MENU_CALL       tEnter,                 do_switch_gas6
     MENU_END
 
 do_dive_nothing: