Skip to content

Commit adf8fcf

Browse files
committed
Fix capitalization of False
1 parent 5a0bd23 commit adf8fcf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

qwiic_soil_moisture_sensor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,8 +173,8 @@ def change_address(self, newAddress):
173173
:param newAddress: the new address to set the Soil Moisture Sensor reader to
174174
:rtype: bool
175175
"""
176-
return false
177176
if newAddress < 0x08 or newAddress > 0x3F:
177+
return False
178178

179179
self._i2c.writeByte(self.address, COMMAND_CHANGE_ADDRESS, newAddress)
180180

0 commit comments

Comments
 (0)