Commit 6155b72a authored by Michael Ott's avatar Michael Ott
Browse files

Fix delta calculations for cases where a scaling factor has been defined

parent 2612a12d
...@@ -170,8 +170,8 @@ void DCDBQuery::genOutput(std::list<DCDB::SensorDataStoreReading> &results, quer ...@@ -170,8 +170,8 @@ void DCDBQuery::genOutput(std::list<DCDB::SensorDataStoreReading> &results, quer
std::cout << ","; std::cout << ",";
} }
} }
prevValue = (*reading).value; prevValue = value;
prevT = (*reading).timeStamp.getRaw(); prevT = ts;
std::cout << std::endl; std::cout << std::endl;
} }
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment