Skip to content

Commit 52a579a

Browse files
committed
fix Heltec v2 getBattMilliVolts
1 parent 7f0f3b7 commit 52a579a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/helpers/HeltecV2Board.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ class HeltecV2Board : public ESP32Board {
6868
}
6969
raw = raw / 8;
7070

71-
return (1.883 * (2 / 1024.0) * raw) * 1000;
71+
return (1.98 * (2 / 1024.0) * raw) * 1000;
7272
}
7373

7474
const char* getManufacturerName() const override {

0 commit comments

Comments
 (0)