diff src/ghostwriter.asm @ 185:f515712d8cd6

BUGFIX: Check min and max values after PC configuration properly
author heinrichsweikamp
date Sat, 18 Oct 2014 10:03:28 +0200
parents 932e91074bdb
children 4b2622e0fd50
line wrap: on
line diff
--- a/src/ghostwriter.asm	Fri Oct 17 13:31:14 2014 +0200
+++ b/src/ghostwriter.asm	Sat Oct 18 10:03:28 2014 +0200
@@ -664,7 +664,7 @@
     movff   char_I_setpoint_change+4,WREG
     rcall	ghostwrite_byte_header	; Change depth
 
-    movff   opt_salinity,WREG       ; Salinity (0-5%)
+    movff   opt_salinity,WREG       ; Salinity (0-4%)
 	rcall	ghostwrite_byte_header	; Store Salinity to Dive
 
 	movff	int_O_CNS_fraction+0,WREG		; copy into bank1