Skip to content

Commit 5eb530b

Browse files
committed
Correct typos in comments and documentation
1 parent cad0c8a commit 5eb530b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/BARO.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ float LPS22HBClass::readPressure(int units)
6666
(i2cRead(LPS22HB_PRESS_OUT_L_REG) << 8) |
6767
(i2cRead(LPS22HB_PRESS_OUT_H_REG) << 16)) / 40960.0;
6868

69-
if (units == MILLIBAR) { // 1 kPa = 10 MILLIBAR
69+
if (units == MILLIBAR) { // 1 kPa = 10 millibar
7070
return reading * 10;
7171
} else if (units == PSI) { // 1 kPa = 0.145038 PSI
7272
return reading * 0.145038;

0 commit comments

Comments
 (0)