From 52ec8490085318620c612dd6abfaed318336394c Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Wed, 5 Feb 2020 19:04:01 +0800 Subject: [PATCH] sayma: fix sysref_delay_dac --- artiq/firmware/libboard_artiq/hmc830_7043.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/artiq/firmware/libboard_artiq/hmc830_7043.rs b/artiq/firmware/libboard_artiq/hmc830_7043.rs index 2c34f9f0d..d5f418a5e 100644 --- a/artiq/firmware/libboard_artiq/hmc830_7043.rs +++ b/artiq/firmware/libboard_artiq/hmc830_7043.rs @@ -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!(); }