From 0188f31f3af619b98399e4c0c1685df44d6f59a5 Mon Sep 17 00:00:00 2001 From: Florian Agbuya Date: Tue, 5 Sep 2023 10:41:40 +0800 Subject: [PATCH] i2c: fix doc formatting --- artiq/coredevice/i2c.py | 1 + 1 file changed, 1 insertion(+) diff --git a/artiq/coredevice/i2c.py b/artiq/coredevice/i2c.py index 2b3be2bc7..13c309527 100644 --- a/artiq/coredevice/i2c.py +++ b/artiq/coredevice/i2c.py @@ -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)