Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
dcdb
dcdb
Commits
14d87e6d
Commit
14d87e6d
authored
Oct 05, 2018
by
Daniele Tafani
Browse files
Corrected typos.
parent
019362bf
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/src/sensoroperations.cpp
View file @
14d87e6d
...
...
@@ -90,8 +90,8 @@ DCDB_OP_RESULT scale(int64_t* result, double scalingFactor, double baseScalingFa
/* Safe delta function */
DCDB_OP_RESULT
delta
(
int64_t
lh
,
int64_t
rh
,
int64_t
*
result
)
{
//TODO: Need to address overflow for monot
h
onic sensor data, e.g., energy reaching max value.
//Maybe need to add another field to sensorconfig ("monot
h
onic")?
//TODO: Need to address overflow for monotonic sensor data, e.g., energy reaching max value.
//Maybe need to add another field to sensorconfig ("monotonic")?
//Or need to pass the maximum value detectable by the sensor?
*
result
=
lh
-
rh
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment