diff --git a/smbus2/smbus2.py b/smbus2/smbus2.py index 2426e03..9ad3679 100644 --- a/smbus2/smbus2.py +++ b/smbus2/smbus2.py @@ -335,6 +335,9 @@ def enable_pec(self, enable=True): ioctl(self.fd, I2C_PEC, self._pec) pec = property(_get_pec, enable_pec) # Drop-in replacement for smbus member "pec" + """ + Get and set SMBus PEC. 0 = disabled (default), 1 = enabled. + """ def _set_address(self, address, force=None): """