diff --git a/smbus2/smbus2.py b/smbus2/smbus2.py index e9d7477..6ed471e 100644 --- a/smbus2/smbus2.py +++ b/smbus2/smbus2.py @@ -318,6 +318,8 @@ def close(self): os.close(self.fd) self.fd = None self._pec = 0 + self.address = None + self._force_last = None def _get_pec(self): return self._pec