From f6ce6bb806fb8d2b52ca1191a0d1c6083577e010 Mon Sep 17 00:00:00 2001 From: Florian Agbuya Date: Tue, 5 Sep 2023 11:38:12 +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)