From bb056c1d2ccb274f2666dad5dd5a594df9e1e533 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Sun, 1 Jan 2017 18:21:12 +0100 Subject: [PATCH] firmware: load *_reg correctly --- artiq/firmware/libboard/ad9154.rs | 2 +- artiq/firmware/libboard/ad9516.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/artiq/firmware/libboard/ad9154.rs b/artiq/firmware/libboard/ad9154.rs index de1ce565a..83b6eeacf 100644 --- a/artiq/firmware/libboard/ad9154.rs +++ b/artiq/firmware/libboard/ad9154.rs @@ -1,5 +1,5 @@ use csr; -use ad9154_reg::reg; +mod ad9154_reg; fn spi_setup() { unsafe { diff --git a/artiq/firmware/libboard/ad9516.rs b/artiq/firmware/libboard/ad9516.rs index 375a2411d..a67c86774 100644 --- a/artiq/firmware/libboard/ad9516.rs +++ b/artiq/firmware/libboard/ad9516.rs @@ -1,5 +1,5 @@ use csr; -use ad9516_reg::reg; +mod ad9516_reg; fn spi_setup() { unsafe {