diff src/comm.asm @ 399:db25f2028074

CHANGE: New segmented speed graph in divemode NEW: Safety Stop can be configured (Start-, End- and reset-depth + length of stop) via PC
author heinrichsweikamp
date Tue, 24 Nov 2015 16:22:52 +0100
parents 61984f91174a
children 789230298511
line wrap: on
line diff
--- a/src/comm.asm	Mon Nov 23 16:13:25 2015 +0100
+++ b/src/comm.asm	Tue Nov 24 16:22:52 2015 +0100
@@ -1039,7 +1039,14 @@
     movff   opt_showppo2, TXREG1            ; RCREG1=0x41
     dcfsnz  WREG
     movff   opt_temperature_adjust, TXREG1  ; RCREG1=0x42
-
+    dcfsnz  WREG
+    movff   opt_safety_stop_length, TXREG1  ; RCREG1=0x43
+    dcfsnz  WREG
+    movff   opt_safety_stop_start, TXREG1   ; RCREG1=0x44
+    dcfsnz  WREG
+    movff   opt_safety_stop_end, TXREG1     ; RCREG1=0x45
+    dcfsnz  WREG
+    movff   opt_safety_stop_reset, TXREG1   ; RCREG1=0x46
 
 comm_read_abort:
 comm_read_done:
@@ -1330,6 +1337,14 @@
     movff   RCREG1, opt_showppo2            ; RCREG1=0x41
     dcfsnz  WREG
     movff   RCREG1, opt_temperature_adjust  ; RCREG1=0x42
+    dcfsnz  WREG
+    movff   RCREG1, opt_safety_stop_length  ; RCREG1=0x43
+    dcfsnz  WREG
+    movff   RCREG1, opt_safety_stop_start   ; RCREG1=0x44
+    dcfsnz  WREG
+    movff   RCREG1, opt_safety_stop_end     ; RCREG1=0x45
+    dcfsnz  WREG
+    movff   RCREG1, opt_safety_stop_reset   ; RCREG1=0x46
 
 
 comm_write_abort: