comparison 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
comparison
equal deleted inserted replaced
553:2e70700774b9 554:a5d2e6083b1d
1430 // 1430 //
1431 // New in v.111 : separated from calc_tissue(), and depends on GF value. 1431 // New in v.111 : separated from calc_tissue(), and depends on GF value.
1432 // 1432 //
1433 static void calc_limit(void) 1433 static void calc_limit(void)
1434 { 1434 {
1435 char_O_gtissue_no = 255; 1435 char_O_gtissue_no = 0; // BUGFIX, changed from 255 to 0 to have a valid leading tissue number defined at any times
1436 calc_lead_tissue_limit = 0.0; 1436 calc_lead_tissue_limit = 0.0;
1437 1437
1438 for(ci=0; ci<NUM_COMP;ci++) 1438 for(ci=0; ci<NUM_COMP;ci++)
1439 { 1439 {
1440 overlay float N2 = pres_tissue_N2[ci]; 1440 overlay float N2 = pres_tissue_N2[ci];