Commit 20f8206
samples: pmic: npm1300_fuel_gauge: reverse current sign
Gauge current convention in Zephyr sensor API is negative=discharging,
but nrf_fuel_gauge lib expects the opposite. This fixes calls to
nrf_fuel_gauge lib API in the sample.
Signed-off-by: Sergei Ovchinnikov <[email protected]>1 parent a8a5977 commit 20f8206
1 file changed
+8
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
99 | 103 | | |
100 | 104 | | |
101 | 105 | | |
| |||
176 | 180 | | |
177 | 181 | | |
178 | 182 | | |
179 | | - | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
180 | 187 | | |
181 | 188 | | |
182 | 189 | | |
| |||
0 commit comments