Corrected 8-bit mode (uninitialized variable not caught by -Wall !) in

limeplayer
This commit is contained in:
Arnaud ZANETTI 2017-10-31 09:36:28 +01:00
parent 3faf5ee027
commit f0e92bcb3f

View File

@ -334,7 +334,7 @@ int main(int argc, char *const argv[]){
printf("TX rate:%lf MB/s" "\n", status.linkRate / 1e6);
}
// Up-Scale to 12-bit
int i;
int i = 0;
while(i < nSamples){
sampleBuffer[i].i = (fileSamples[i].i << 4);
sampleBuffer[i].q = (fileSamples[i].q << 4);