doc/customdevices: remove custom init string

We only need this if the string is different from the auto-generated default, such as when we want to prevent expansion of an enum to a number.
This commit is contained in:
Laurens Valk
2019-12-06 14:35:16 +01:00
parent 4086ee67ac
commit 3143b28be1
+3 -3
View File
@@ -5,7 +5,7 @@ class AnalogSensor():
"""Generic or custom analog sensor."""
def __init__(self, port, check_type=True):
"""AnalogSensor(port, check_type=True)
"""
Arguments:
port (Port): Port to which the sensor is connected.
@@ -64,8 +64,8 @@ class AnalogSensor():
class I2CDevice():
"""Generic or custom I2C device."""
def __init__(self, port, check_type=True):
"""I2CDevice(port, address)
def __init__(self, port, address):
"""
Arguments:
port (Port): Port to which the device is connected.