diff --git a/module_usb_audio/audio.xc b/module_usb_audio/audio.xc index 194b4af7..61304a30 100755 --- a/module_usb_audio/audio.xc +++ b/module_usb_audio/audio.xc @@ -571,7 +571,7 @@ chanend ?c_adc) // p_i2s_adc[index++] :> sample; // Manual IN instruction since compiler generates an extra setc per IN (bug #15256) asm volatile("in %0, res[%1]" : "=r"(sample) : "r"(p_i2s_adc[index++])); - + /* Note the use of readBuffNo changes based on frameCount */ if(buffIndex) samplesIn_1[((frameCount-1)&(I2S_CHANS_PER_FRAME-1))+i] = bitrev(sample); // channels 1, 3, 5.. on each line.