forked from M-Labs/artiq
1
0
Fork 0

i2c: fix doc formatting

This commit is contained in:
Florian Agbuya 2023-09-05 11:38:12 +08:00 committed by Sébastien Bourdeauducq
parent 21c6f57ce1
commit f6ce6bb806
1 changed files with 1 additions and 0 deletions

View File

@ -161,6 +161,7 @@ class I2CSwitch:
@kernel
def set(self, channel):
"""Enable one channel.
:param channel: channel number (0-7)
"""
i2c_switch_select(self.busno, self.address >> 1, 1 << channel)