Commit b007bf0
lib: st25r3911b: Correction of errors in voltage calculation
lib: st25r3911b: Correction of errors in voltage calculation
In official documentation on st25r3911 when we measure voltage,
one LSB represents 23.438 mV.
When calculating, we multiply the fractional part by a
three-digit number. When restoring, we divide it by 100, not by 1000.
This is an error.
Signed-off-by: Andrei Lashkov <[email protected]>1 parent ec3b81c commit b007bf0
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| |||
0 commit comments