Mercurial > public > hwos_code
comparison src/menu_tree.asm @ 187:669b5d00706d
CHANGE: Longer timeout (4 min) for calibration menu
Ignore 1,2mV noise for not-connected inputs
author | heinrichsweikamp |
---|---|
date | Sat, 25 Oct 2014 15:28:18 +0200 |
parents | 932e91074bdb |
children | dcd513840c6c |
comparison
equal
deleted
inserted
replaced
186:a004b482604a | 187:669b5d00706d |
---|---|
90 MENU_CALL tFixedSetpoints, do_fixed_setpoints | 90 MENU_CALL tFixedSetpoints, do_fixed_setpoints |
91 MENU_CALL tExit, do_continue_main_menu | 91 MENU_CALL tExit, do_continue_main_menu |
92 MENU_END | 92 MENU_END |
93 | 93 |
94 do_calibrate_menu: | 94 do_calibrate_menu: |
95 call enable_ir ; Enable IR-Port | 95 call enable_ir_s8 ; Enable IR/S8-Port |
96 bsf menu_show_sensors2 ; Set flag | 96 bsf menu_show_sensors2 ; Set flag |
97 do_calibrate_menu2: | 97 do_calibrate_menu2: |
98 MENU_BEGIN tCalibrateMenu, .6 | 98 MENU_BEGIN tCalibrateMenu, .6 |
99 MENU_CALL tDiveHudMask1, 0 | 99 MENU_CALL tDiveHudMask1, 0 |
100 MENU_CALL tDiveHudMask2, 0 | 100 MENU_CALL tDiveHudMask2, 0 |
108 extern calibrate_mix | 108 extern calibrate_mix |
109 call calibrate_mix ; Calibrate with opt_calibration_O2_ratio, also calibrate S8 HUD if connected | 109 call calibrate_mix ; Calibrate with opt_calibration_O2_ratio, also calibrate S8 HUD if connected |
110 goto restart ; Restart into surface mode | 110 goto restart ; Restart into surface mode |
111 | 111 |
112 do_ccr_sensor: | 112 do_ccr_sensor: |
113 call enable_ir ; Enable IR-Port | 113 call enable_ir_s8 ; Enable IR/S8-Port |
114 bsf menu_show_sensors ; Set flag | 114 bsf menu_show_sensors ; Set flag |
115 MENU_BEGIN tCCRSensor, .5 | 115 MENU_BEGIN tCCRSensor, .5 |
116 MENU_CALL tDiveHudMask1, 0 | 116 MENU_CALL tDiveHudMask1, 0 |
117 MENU_CALL tDiveHudMask2, 0 | 117 MENU_CALL tDiveHudMask2, 0 |
118 MENU_CALL tDiveHudMask3, 0 | 118 MENU_CALL tDiveHudMask3, 0 |