forked from M-Labs/artiq
1
0
Fork 0

runtime: remove accidentally deleted code.

This commit is contained in:
whitequark 2017-11-03 16:10:59 +00:00
parent dfb2fe0b80
commit fcd660d682
1 changed files with 13 additions and 0 deletions

View File

@ -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 }
}