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
parent d90eb3ae88
commit d4c393b2a8
1 changed files with 7 additions and 3 deletions

View File

@ -184,15 +184,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)")
}
@ -204,7 +208,7 @@ mod imp {
unimplemented!("not(has_rtio)")
}
pub fn log(_timestamp: i64, _data: &[u8]) {
pub fn log(_data: &[u8]) {
unimplemented!("not(has_rtio)")
}
}