We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 36d5278 commit d8fce1fCopy full SHA for d8fce1f
FprimeZephyrReference/Components/Drv/Helpers/Helpers.cpp
@@ -10,7 +10,7 @@
10
namespace Drv {
11
12
F64 sensor_value_to_f64(const struct sensor_value& val) {
13
- return val.val1 + val.val2 / 1000000.0f;
+ return val.val1 + (val.val2 / 1000000.0f);
14
}
15
16
} // namespace Drv
0 commit comments