asix-sigma: Stabilize channel assignment for different samplerates

Adjust the interpretation of acquired sample data such that regardless
of 50/100/200MHz samplerate the assignment of LA pins to sigrok channels
remains stable.
This commit is contained in:
Gerhard Sittig 2017-05-26 01:34:55 +02:00 committed by Uwe Hermann
parent 0498f7439f
commit 3281cf59aa
1 changed files with 1 additions and 0 deletions

View File

@ -736,6 +736,7 @@ static uint16_t sigma_dram_cluster_data(struct sigma_dram_cluster *cl, int idx)
sample = 0;
sample |= cl->samples[idx].sample_lo << 0;
sample |= cl->samples[idx].sample_hi << 8;
sample = (sample >> 8) | (sample << 8);
return sample;
}