From 29c35ee553ec963e77127ec74f5cd12e10574d3c Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Thu, 12 Jul 2018 13:01:41 +0800 Subject: [PATCH] hmc7043: fix dumb mistake in previous commit --- 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 b1d1cb3b9..faa26630a 100644 --- a/artiq/firmware/libboard_artiq/hmc830_7043.rs +++ b/artiq/firmware/libboard_artiq/hmc830_7043.rs @@ -131,8 +131,6 @@ mod hmc830 { write(0x4, m_div); write(0x3, n_div); - clock::spin_us(10_000); - info!(" ...done"); } @@ -339,6 +337,8 @@ pub mod hmc7043 { write(0x1, 0xc8); // Synchronize dividers write(0x1, 0x40); // Unmute, high-performance/low-noise mode + clock::spin_us(10_000); + info!(" ...done"); }