From fcd660d682d0c55e97c2e3483401f0a433793b28 Mon Sep 17 00:00:00 2001 From: whitequark Date: Fri, 3 Nov 2017 16:10:59 +0000 Subject: [PATCH] runtime: remove accidentally deleted code. --- artiq/firmware/runtime/rtio_mgt.rs | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/artiq/firmware/runtime/rtio_mgt.rs b/artiq/firmware/runtime/rtio_mgt.rs index 8d35e450b..e7578d92c 100644 --- a/artiq/firmware/runtime/rtio_mgt.rs +++ b/artiq/firmware/runtime/rtio_mgt.rs @@ -303,3 +303,16 @@ pub mod drtio_dbg { } } } + +#[cfg(not(has_drtio))] +pub mod drtio_dbg { + pub fn get_channel_state(_channel: u32) -> (u16, u64) { (0, 0) } + + pub fn reset_channel_state(_channel: u32) {} + + pub fn get_fifo_space(_channel: u32) {} + + pub fn get_packet_counts(_linkno: u8) -> (u32, u32) { (0, 0) } + + pub fn get_fifo_space_req_count(_linkno: u8) -> u32 { 0 } +}