Skip to content

Commit 1a51d3b

Browse files
committed
Fix documentation typos
1 parent d09be45 commit 1a51d3b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

adafruit_scd30.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ def reset(self):
8282
def measurement_interval(self):
8383
"""Sets the interval between readings in seconds. The interval value must be from 2-1800
8484
85-
**NOTE** This value will be saved and will not be reset on boot or by callint `reset`."""
85+
**NOTE** This value will be saved and will not be reset on boot or by calling `reset`."""
8686

8787
return self._read_register(_CMD_SET_MEASUREMENT_INTERVAL)
8888

@@ -101,7 +101,7 @@ def self_calibration_enabled(self):
101101
**NOTE**: Enabling self calibration will override any values set by specifying a
102102
`forced_recalibration_reference`
103103
104-
**NOTE** This setting will be saved and will not be reset on boot or by callint `reset`."""
104+
**NOTE** This setting will be saved and will not be reset on boot or by calling `reset`."""
105105

106106
return self._read_register(_CMD_AUTOMATIC_SELF_CALIBRATION) == 1
107107

@@ -133,7 +133,7 @@ def altitude(self):
133133
this value adjusts the CO2 measurement calculations to account for the air pressure's effect
134134
on readings.
135135
136-
**NOTE** This value will be stored and will not be reset on boot or by callint `reset`."""
136+
**NOTE** This value will be stored and will not be reset on boot or by calling `reset`."""
137137
return self._read_register(_CMD_SET_ALTITUDE_COMPENSATION)
138138

139139
@altitude.setter
@@ -143,10 +143,10 @@ def altitude(self, altitude):
143143
@property
144144
def temperature_offset(self):
145145
"""Specifies the offset to be added to the reported measurements to account for a bias in
146-
the measured signal. Value is in degrees Celcius with a resolution of 0.01 degrees and a
146+
the measured signal. Value is in degrees Celsius with a resolution of 0.01 degrees and a
147147
maximum value of 655.35 C
148148
149-
**NOTE** This value will be saved and will not be reset on boot or by callint `reset`."""
149+
**NOTE** This value will be saved and will not be reset on boot or by calling `reset`."""
150150

151151
raw_offset = self._read_register(_CMD_SET_TEMPERATURE_OFFSET)
152152
return raw_offset / 100.0

0 commit comments

Comments
 (0)