Skip to content

Commit

Permalink
sayma: fix sysref_delay_dac
Browse files Browse the repository at this point in the history
  • Loading branch information
sbourdeauducq committed Feb 5, 2020
1 parent c7de1f2 commit 52ec849
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions artiq/firmware/libboard_artiq/hmc830_7043.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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!();
}
Expand Down

0 comments on commit 52ec849

Please sign in to comment.