forked from M-Labs/artiq
sayma: fix sysref_delay_dac
This commit is contained in:
parent
c7de1f2e6b
commit
52ec849008
@ -373,9 +373,9 @@ pub mod hmc7043 {
|
||||
pub fn sysref_delay_dac(dacno: u8, phase_offset: u8) {
|
||||
spi_setup();
|
||||
if dacno == 0 {
|
||||
write(0x00d5, phase_offset);
|
||||
} else if dacno == 1 {
|
||||
write(0x00e9, phase_offset);
|
||||
} else if dacno == 1 {
|
||||
write(0x00d5, phase_offset);
|
||||
} else {
|
||||
unimplemented!();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user