Skip to content

Commit c5426fc

Browse files
authored
Correct enumerator name for kilopascal units in docs
The library declares an enum of the unit types supported for configuration of the return value of the `readPressure` function. The names of the enumerators are documented in the API docs. Previously, the name of the enumerator for kilopascal units was misspelled in the documentation.
1 parent 779bf6a commit c5426fc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/api.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ BARO.readPressure(units)
8484

8585
#### Parameters
8686

87-
* _units_: `PSI` to read the pressure in PSI (pounds per square inch), `MILLIBAR` to read the pressure in millibars and `KILOPASCALS` to read the pressure in kilopascals. If unit parameter is not provided, default is kilopascals .
87+
* _units_: `PSI` to read the pressure in PSI (pounds per square inch), `MILLIBAR` to read the pressure in millibars and `KILOPASCAL` to read the pressure in kilopascals. If unit parameter is not provided, default is kilopascals .
8888

8989
#### Returns
9090

@@ -103,4 +103,4 @@ Serial.println(" kPa");
103103
#### See also
104104

105105
* [begin()](#begin)
106-
* [end()](#end)
106+
* [end()](#end)

0 commit comments

Comments
 (0)