Merge branch 'SimulFlux'
This commit is contained in:
commit
af985c81df
BIN
Code-C/main
BIN
Code-C/main
Binary file not shown.
|
@ -121,7 +121,7 @@ void *simulateFlux(void *vargp){
|
||||||
|
|
||||||
while(writeOneRawData(rawDataFile)){
|
while(writeOneRawData(rawDataFile)){
|
||||||
if(cptData == nRow){
|
if(cptData == nRow){
|
||||||
printf("in if\n");
|
fclose(rawDataFile);
|
||||||
cptData = 0;
|
cptData = 0;
|
||||||
cptFile++;
|
cptFile++;
|
||||||
//create struct here
|
//create struct here
|
||||||
|
@ -131,4 +131,5 @@ void *simulateFlux(void *vargp){
|
||||||
FILE *rawDataFile = fopen(fileName,"w+");
|
FILE *rawDataFile = fopen(fileName,"w+");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
queuePrintWholeQ(firstRawDataQueue);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue