diff --git a/artiq/coredevice/shuttler.py b/artiq/coredevice/shuttler.py index 43809b2b8..358522eac 100644 --- a/artiq/coredevice/shuttler.py +++ b/artiq/coredevice/shuttler.py @@ -169,8 +169,8 @@ class Relay: RELAY_SPI_CONFIG, 16, SPIT_RELAY_WR, CS_RELAY | CS_LED) @kernel - def set_led(self, leds: TInt32): - self.bus.write(leds << 16) + def enable(self, en: TInt32): + self.bus.write(en << 16) class ADC: