diff src/divemode.asm @ 138:2852b0bd6391

minor: some extra protection against wrong gas selection
author heinrichsweikamp
date Thu, 17 Jul 2014 14:34:10 +0200
parents 28b057aa9f75
children e3ac5b2021bc
line wrap: on
line diff
--- a/src/divemode.asm	Thu Jul 17 14:24:51 2014 +0200
+++ b/src/divemode.asm	Thu Jul 17 14:34:10 2014 +0200
@@ -914,6 +914,7 @@
     movff   better_gas_number,menupos; 1-5
     bsf     divemode_gaschange      ; Change the gas in the dive mode loop...
     call    menuview_toggle_reset   ; Reset to zero (Zero=no menuview)
+    bcf     better_gas_available    ; Clear flag immediately
     return
 
 divemode_option0:                   ; Start/Setup Divemode menu