# HG changeset patch
# User heinrichsweikamp
# Date 1465545702 -7200
# Node ID 8f8151bb53bba3307b314710d4393365bc628644
# Parent  75f913a029d0d3bc3e93de0571f7396f815758a1
docu update

diff -r 75f913a029d0 -r 8f8151bb53bb doc/hwos_interface.odt
Binary file doc/hwos_interface.odt has changed
diff -r 75f913a029d0 -r 8f8151bb53bb src/comm.asm
--- a/src/comm.asm	Fri May 13 16:01:49 2016 +0200
+++ b/src/comm.asm	Fri Jun 10 10:01:42 2016 +0200
@@ -27,7 +27,7 @@
     extern  option_check_all, gaslist_cleanup_list, get_first_gas_to_WREG, get_first_dil_to_WREG
     extern  vault_decodata_into_eeprom
 
-#DEFINE timeout_comm_pre_mode   .120        ; Pre-loop
+#DEFINE timeout_comm_pre_mode   .240        ; Pre-loop
 #DEFINE timeout_comm_mode       .120        ; Download mode
 #DEFINE timeout_service_mode    .120        ; Service mode
 
diff -r 75f913a029d0 -r 8f8151bb53bb src/divemenu_tree.asm
--- a/src/divemenu_tree.asm	Fri May 13 16:01:49 2016 +0200
+++ b/src/divemenu_tree.asm	Fri Jun 10 10:01:42 2016 +0200
@@ -71,7 +71,7 @@
 
 do_switch_to_sensor:
     movlw   .1                      ; Switch to Sensor
-    movff   WREG,opt_ccr_mode       ; =0: Fixed SP, =1: Sensor
+    movff   WREG,opt_ccr_mode       ; =0: Fixed SP, =1: Sensor,  =2: Auto SP
     bsf     voting_logic_sensor1
     bsf     voting_logic_sensor2
     bsf     voting_logic_sensor3
@@ -119,7 +119,7 @@
     call    setup_dil_registers     ; With WREG=Gas 0-4
 
     clrf    WREG                    ; Switch to fixed SP
-    movff   WREG,opt_ccr_mode       ; =0: Fixed SP, =1: Sensor
+    movff   WREG,opt_ccr_mode       ; =0: Fixed SP, =1: Sensor,  =2: Auto SP
     clrf    WREG
     movff   WREG,char_O_deco_status ; Restart decoplan computation