diff src/divemenu_tree.asm @ 377:f0828110d864

set char_I_current_gas for gas6 use
author heinrichsweikamp
date Thu, 10 Sep 2015 13:05:26 +0200
parents 5c6da9fa5cb0
children 7be43d886bb1
line wrap: on
line diff
--- a/src/divemenu_tree.asm	Mon Sep 07 13:58:23 2015 +0200
+++ b/src/divemenu_tree.asm	Thu Sep 10 13:05:26 2015 +0200
@@ -81,6 +81,7 @@
 do_switch_gas6:
     movlw   .6
     movwf   active_gas              ; Gas6 selected
+    movff   WREG,char_I_current_gas ; for p2_deco.c
     bra     do_switch_gasX
     extern  diveloop_loop4
     extern  timeout_divemode_menu2