Mercurial > public > hwos_code
comparison 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 |
comparison
equal
deleted
inserted
replaced
52:0fae975af741 | 53:2825f1d2262f |
---|---|
68 | 68 |
69 do_divemode_resetavr: | 69 do_divemode_resetavr: |
70 bsf reset_average_depth ; Set Flag | 70 bsf reset_average_depth ; Set Flag |
71 bra do_exit_divemode_menu ; And exit | 71 bra do_exit_divemode_menu ; And exit |
72 | 72 |
73 | |
74 do_switch_gas6: | |
75 movlw .6 | |
76 movwf active_gas ; Gas6 selected | |
77 bra do_switch_gasX | |
73 extern diveloop_loop4 | 78 extern diveloop_loop4 |
74 extern timeout_divemode_menu2 | 79 extern timeout_divemode_menu2 |
75 do_switch_gas: | 80 do_switch_gas: |
76 bsf divemode_gaschange ; Set flag | 81 bsf divemode_gaschange ; Set flag |
77 do_switch_gasX: | 82 do_switch_gasX: |
127 MENU_DYNAMIC gaslist_strcat_gasx, do_dive_nothing | 132 MENU_DYNAMIC gaslist_strcat_gasx, do_dive_nothing |
128 MENU_CALL tO2Plus, do_dive_pO2 | 133 MENU_CALL tO2Plus, do_dive_pO2 |
129 MENU_CALL tO2Minus, do_dive_mO2 | 134 MENU_CALL tO2Minus, do_dive_mO2 |
130 MENU_CALL tHePlus, do_dive_pHe | 135 MENU_CALL tHePlus, do_dive_pHe |
131 MENU_CALL tHeMinus, do_dive_mHe | 136 MENU_CALL tHeMinus, do_dive_mHe |
132 MENU_CALL tEnter, do_switch_gasX | 137 MENU_CALL tEnter, do_switch_gas6 |
133 MENU_END | 138 MENU_END |
134 | 139 |
135 do_dive_nothing: | 140 do_dive_nothing: |
136 bra do_divemode_gaslist_more | 141 bra do_divemode_gaslist_more |
137 | 142 |