bp_ndx = 1; while (bp_ndx < 8 && data >= ZMIFC->meadat.CHN[ndx].bpFlo[bp_ndx]) bp_ndx++; Ez nem ugyanaz, amit hosszan írtál?