forked from M-Labs/artiq
relay: fix naming
This commit is contained in:
parent
477a7b693c
commit
5c64eac8d2
|
@ -169,8 +169,8 @@ class Relay:
|
||||||
RELAY_SPI_CONFIG, 16, SPIT_RELAY_WR, CS_RELAY | CS_LED)
|
RELAY_SPI_CONFIG, 16, SPIT_RELAY_WR, CS_RELAY | CS_LED)
|
||||||
|
|
||||||
@kernel
|
@kernel
|
||||||
def set_led(self, leds: TInt32):
|
def enable(self, en: TInt32):
|
||||||
self.bus.write(leds << 16)
|
self.bus.write(en << 16)
|
||||||
|
|
||||||
|
|
||||||
class ADC:
|
class ADC:
|
||||||
|
|
Loading…
Reference in New Issue