diff src/p2_deco.c @ 554:a5d2e6083b1d

initialize blinking flags properly, apply fixes from 2.92 into 2.27beta
author heinrichsweikamp
date Sun, 19 Nov 2017 20:04:16 +0100
parents 015b7fdd90a7
children b7eb98dbd800
line wrap: on
line diff
--- a/src/p2_deco.c	Sun Nov 19 18:43:27 2017 +0100
+++ b/src/p2_deco.c	Sun Nov 19 20:04:16 2017 +0100
@@ -1432,7 +1432,7 @@
 //
 static void calc_limit(void)
 {
-    char_O_gtissue_no = 255;
+    char_O_gtissue_no   = 0;	// BUGFIX, changed from 255 to 0 to have a valid leading tissue number defined at any times
     calc_lead_tissue_limit = 0.0;
 
     for(ci=0; ci<NUM_COMP;ci++)