i2c: fix doc formatting

pull/2188/head
Florian Agbuya 2023-09-05 10:41:40 +08:00 committed by Sébastien Bourdeauducq
parent 4e770509db
commit 0188f31f3a
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)