We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d783f5 commit ab351d7Copy full SHA for ab351d7
api_drivers/common_api_drivers/io_expander/ch422g.py
@@ -33,9 +33,8 @@ class Pin(io_expander_framework.Pin):
33
34
@classmethod
35
def set_device(cls, device):
36
- if cls._device is not None:
37
- raise ValueError('device has already been set')
38
-
+ io_expander_framework.Pin.set_device(device)
+
39
cls._device = device
40
41
cls._reg_in = i2c.I2C.Device(
0 commit comments