*** empty log message ***
This commit is contained in:
@ -443,6 +443,7 @@ int ReadTemp() {
|
|||||||
if (i!=4) ERR_MSG("bad answer 1");
|
if (i!=4) ERR_MSG("bad answer 1");
|
||||||
tempX=WeightedAverage(nX, t4[0], t4[2]);
|
tempX=WeightedAverage(nX, t4[0], t4[2]);
|
||||||
tempP=WeightedAverage(nP, t4[1], t4[3]);
|
tempP=WeightedAverage(nP, t4[1], t4[3]);
|
||||||
|
if (tempP==0.0) tempP=tempX;
|
||||||
if (dirtyX==0 && dirtyP==0 && noResp==0 && tim>logTime) {
|
if (dirtyX==0 && dirtyP==0 && noResp==0 && tim>logTime) {
|
||||||
t2[0]=tempX;
|
t2[0]=tempX;
|
||||||
t2[1]=tempP;
|
t2[1]=tempP;
|
||||||
@ -698,7 +699,7 @@ int main(int argc, char *argv[])
|
|||||||
}
|
}
|
||||||
if ('l'==opt) {
|
if ('l'==opt) {
|
||||||
logIt=1;
|
logIt=1;
|
||||||
period=1000;
|
period=5000;
|
||||||
opt=' ';
|
opt=' ';
|
||||||
} else if ('s'==opt) {
|
} else if ('s'==opt) {
|
||||||
logfileStd=1;
|
logfileStd=1;
|
||||||
|
Reference in New Issue
Block a user