Commit 14d87e6d authored by Daniele Tafani's avatar Daniele Tafani
Browse files

Corrected typos.

parent 019362bf
...@@ -90,8 +90,8 @@ DCDB_OP_RESULT scale(int64_t* result, double scalingFactor, double baseScalingFa ...@@ -90,8 +90,8 @@ DCDB_OP_RESULT scale(int64_t* result, double scalingFactor, double baseScalingFa
/* Safe delta function */ /* Safe delta function */
DCDB_OP_RESULT delta(int64_t lh, int64_t rh, int64_t* result) { DCDB_OP_RESULT delta(int64_t lh, int64_t rh, int64_t* result) {
//TODO: Need to address overflow for monothonic sensor data, e.g., energy reaching max value. //TODO: Need to address overflow for monotonic sensor data, e.g., energy reaching max value.
//Maybe need to add another field to sensorconfig ("monothonic")? //Maybe need to add another field to sensorconfig ("monotonic")?
//Or need to pass the maximum value detectable by the sensor? //Or need to pass the maximum value detectable by the sensor?
*result = lh - rh; *result = lh - rh;
......
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