forked from M-Labs/artiq
1
0
Fork 0

sayma: fix sysref_delay_dac

This commit is contained in:
Sebastien Bourdeauducq 2020-02-05 19:04:01 +08:00
parent c7de1f2e6b
commit 52ec849008
1 changed files with 2 additions and 2 deletions

View File

@ -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!();
}