forked from M-Labs/artiq
1
0
Fork 0

firmware/ksupport: Update `cfg(not(has_rtio))` stub signatures

This fixes up 8caea0e6d3,
but it is unclear whether anyone even uses a `not(has_rtio)`
configuration at this point.
This commit is contained in:
David Nadlinger 2018-12-11 01:21:24 +00:00 committed by Robert Jördens
parent 34d0f592f1
commit a7d7e91188
1 changed files with 7 additions and 3 deletions

View File

@ -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<i32>) {
pub extern fn output_wide(_target: i32, _data: CSlice<i32>) {
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)")
}
}