From 8dabc8e6fde4a66c37e0344579f1fba993c5a785 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Thu, 6 Aug 2020 20:23:36 +0800 Subject: [PATCH] runtime: remove access to obsolete i_overflow_reset CSR --- src/runtime/src/rtio_csr.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/runtime/src/rtio_csr.rs b/src/runtime/src/rtio_csr.rs index faa039d5..1edd6061 100644 --- a/src/runtime/src/rtio_csr.rs +++ b/src/runtime/src/rtio_csr.rs @@ -124,7 +124,6 @@ pub extern fn input_timestamp(timeout: i64, channel: i32) -> i64 { } if status & RTIO_I_STATUS_OVERFLOW != 0 { - csr::rtio::i_overflow_reset_write(1); artiq_raise!("RTIOOverflow", "RTIO input overflow on channel {0}", channel as i64, 0, 0); @@ -153,7 +152,6 @@ pub extern fn input_data(channel: i32) -> i32 { } if status & RTIO_I_STATUS_OVERFLOW != 0 { - csr::rtio::i_overflow_reset_write(1); artiq_raise!("RTIOOverflow", "RTIO input overflow on channel {0}", channel as i64, 0, 0); @@ -179,7 +177,6 @@ pub extern fn input_timestamped_data(timeout: i64, channel: i32) -> TimestampedD } if status & RTIO_I_STATUS_OVERFLOW != 0 { - csr::rtio::i_overflow_reset_write(1); artiq_raise!("RTIOOverflow", "RTIO input overflow on channel {0}", channel as i64, 0, 0);