Mercurial > public > hwos_code
comparison 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 |
comparison
equal
deleted
inserted
replaced
544:64a45f203144 | 545:7e6df19264b6 |
---|---|
261 ; Simulator menus | 261 ; Simulator menus |
262 | 262 |
263 global do_planner_menu | 263 global do_planner_menu |
264 | 264 |
265 do_planner_menu_reset: | 265 do_planner_menu_reset: |
266 extern option_save_all | 266 extern option_save_all |
267 call option_save_all | 267 call option_save_all |
268 call restart_set_modes_and_flags ; To have correct simulator results for mode changes without prior surfacemode call | |
268 ;---- Reset dive time/depth to default values | 269 ;---- Reset dive time/depth to default values |
269 extern option_reset | 270 extern option_reset |
270 lfsr FSR0,odiveInterval | 271 lfsr FSR0,odiveInterval |
271 call option_reset | 272 call option_reset |
272 lfsr FSR0,obottomTime | 273 lfsr FSR0,obottomTime |