forked from M-Labs/artiq
i2c: fix doc formatting
This commit is contained in:
parent
21c6f57ce1
commit
f6ce6bb806
@ -161,6 +161,7 @@ class I2CSwitch:
|
|||||||
@kernel
|
@kernel
|
||||||
def set(self, channel):
|
def set(self, channel):
|
||||||
"""Enable one channel.
|
"""Enable one channel.
|
||||||
|
|
||||||
:param channel: channel number (0-7)
|
:param channel: channel number (0-7)
|
||||||
"""
|
"""
|
||||||
i2c_switch_select(self.busno, self.address >> 1, 1 << channel)
|
i2c_switch_select(self.busno, self.address >> 1, 1 << channel)
|
||||||
|
Loading…
Reference in New Issue
Block a user