forked from M-Labs/artiq
1
0
Fork 0

relay: fix naming

This commit is contained in:
occheung 2023-09-18 20:01:44 -07:00 committed by Sébastien Bourdeauducq
parent 477a7b693c
commit 5c64eac8d2
1 changed files with 2 additions and 2 deletions

View File

@ -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: