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)
|
||||
|
||||
@kernel
|
||||
def set_led(self, leds: TInt32):
|
||||
self.bus.write(leds << 16)
|
||||
def enable(self, en: TInt32):
|
||||
self.bus.write(en << 16)
|
||||
|
||||
|
||||
class ADC:
|
||||
|
|
Loading…
Reference in New Issue