diff --git a/artiq/coredevice/novogorny.py b/artiq/coredevice/novogorny.py index 94e119973..f5d3911fd 100644 --- a/artiq/coredevice/novogorny.py +++ b/artiq/coredevice/novogorny.py @@ -100,7 +100,7 @@ class Novogorny: self.gains &= ~(0b11 << (channel*2)) self.gains |= gain << (channel*2) self.bus.set_config_mu(SPI_CONFIG | spi.SPI_END, - 2, self.div, SPI_CS_SR) + 16, self.div, SPI_CS_SR) self.bus.write(self.gains << 16) @kernel