From a7d7e91188846669939c634818e8d6ff5056fff8 Mon Sep 17 00:00:00 2001 From: David Nadlinger Date: Tue, 11 Dec 2018 01:21:24 +0000 Subject: [PATCH] firmware/ksupport: Update `cfg(not(has_rtio))` stub signatures This fixes up 8caea0e6d3a91e625f84172e455229920dca930f, but it is unclear whether anyone even uses a `not(has_rtio)` configuration at this point. --- artiq/firmware/ksupport/rtio.rs | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/artiq/firmware/ksupport/rtio.rs b/artiq/firmware/ksupport/rtio.rs index 123d15d07..ccb6691ae 100644 --- a/artiq/firmware/ksupport/rtio.rs +++ b/artiq/firmware/ksupport/rtio.rs @@ -183,15 +183,19 @@ mod imp { unimplemented!("not(has_rtio)") } + pub extern fn get_destination_status(_destination: i32) -> bool { + unimplemented!("not(has_rtio)") + } + pub extern fn get_counter() -> i64 { unimplemented!("not(has_rtio)") } - pub extern fn output(_timestamp: i64, _channel: i32, _addr: i32, _data: i32) { + pub extern fn output(_target: i32, _data: i32) { unimplemented!("not(has_rtio)") } - pub extern fn output_wide(_timestamp: i64, _channel: i32, _addr: i32, _data: CSlice) { + pub extern fn output_wide(_target: i32, _data: CSlice) { unimplemented!("not(has_rtio)") } @@ -203,7 +207,7 @@ mod imp { unimplemented!("not(has_rtio)") } - pub fn log(_timestamp: i64, _data: &[u8]) { + pub fn log(_data: &[u8]) { unimplemented!("not(has_rtio)") } }