@@ -210,13 +213,14 @@ static int trx_iris_read(openair0_device *device, openair0_timestamp *ptimestamp
//printf("Reading %d samples from Iris...\n", nsamps);
//fflush(stdout);
intr;
intm=s->rx_num_channels;
for(r=0;r<s->device_num;r++)
{
flags=0;
samples_received=0;
samps[0]=(uint32_t*)buff[2*r];
samps[0]=(uint32_t*)buff[m*r];
if(cc%2==0)
samps[1]=(uint32_t*)buff[2*r+1];
samps[1]=(uint32_t*)buff[m*r+1];
//uint32_t *samps[2] = {(uint32_t *)buff[2*r], (uint32_t *)buff[2*r+1]}; //cws: it seems another thread can clobber these, so we need to save them locally.