Mercurial > public > hwos_code
diff src/menu_tree.asm @ 545:7e6df19264b6
BUGFIX: Simulator in CC mode
BUGFIX: Changing the dive mode and starting the simulator (without leaving the menu first) caused false calculations in the simulator
BUGFIX: PSCR Mode "OC Gases" showed Diluents, not OC gases
BUGFIX: CCR Mode ("First Diluent") was chosen based on OC "First Gas" number
author | heinrichsweikamp |
---|---|
date | Wed, 06 Sep 2017 21:26:18 +0200 |
parents | 64a45f203144 |
children | b7eb98dbd800 |
line wrap: on
line diff
--- a/src/menu_tree.asm Wed Sep 06 15:34:49 2017 +0200 +++ b/src/menu_tree.asm Wed Sep 06 21:26:18 2017 +0200 @@ -263,8 +263,9 @@ global do_planner_menu do_planner_menu_reset: - extern option_save_all - call option_save_all + extern option_save_all + call option_save_all + call restart_set_modes_and_flags ; To have correct simulator results for mode changes without prior surfacemode call ;---- Reset dive time/depth to default values extern option_reset lfsr FSR0,odiveInterval