WF_MAX_SAMPLE
char sample_status[WF_MAX_SAMPLE]; /* WF_ST_* | WF_SLOT_* */
if (header->number >= WF_MAX_SAMPLE)
if (header->number >= WF_MAX_SAMPLE)
for (i = 0; i < WF_MAX_SAMPLE; i++) {
if (i <0 || i >= WF_MAX_SAMPLE) {
for (i = 0; i < WF_MAX_SAMPLE; i++) {
WF_MAX_SAMPLE - dev->samples_used);
if (header->number >= WF_MAX_SAMPLE)