Commit 3c36cd4
drivers: sensor: Add sensor_value_from_double
Add helper function to convert double to struct sensor_value.
Signed-off-by: Eug Krashtan <[email protected]>1 parent 73e3cd5 commit 3c36cd4
1 file changed
+12
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
648 | 648 | | |
649 | 649 | | |
650 | 650 | | |
| 651 | + | |
| 652 | + | |
| 653 | + | |
| 654 | + | |
| 655 | + | |
| 656 | + | |
| 657 | + | |
| 658 | + | |
| 659 | + | |
| 660 | + | |
| 661 | + | |
| 662 | + | |
651 | 663 | | |
652 | 664 | | |
653 | 665 | | |
| |||
0 commit comments