From 6903a1d88aacfc994a062fb1f8a9f3f00c4cbd7a Mon Sep 17 00:00:00 2001 From: Robert Jordens Date: Mon, 29 Feb 2016 14:56:04 +0100 Subject: [PATCH] runtime/rt2wb: accurate exception strings --- artiq/runtime/rt2wb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/artiq/runtime/rt2wb.c b/artiq/runtime/rt2wb.c index 0758bb6d5..e96ce3d3a 100644 --- a/artiq/runtime/rt2wb.c +++ b/artiq/runtime/rt2wb.c @@ -28,7 +28,7 @@ unsigned int rt2wb_read_sync(long long int timestamp, int channel, if(status & RTIO_I_STATUS_OVERFLOW) { rtio_i_overflow_reset_write(1); artiq_raise_from_c("RTIOOverflow", - "RTIO WB overflow on channel {0}", + "RT2WB overflow on channel {0}", channel, 0, 0); } if(rtio_get_counter() >= timestamp + duration) { @@ -37,7 +37,7 @@ unsigned int rt2wb_read_sync(long long int timestamp, int channel, */ if(rtio_i_status_read() & RTIO_I_STATUS_EMPTY) artiq_raise_from_c("InternalError", - "RTIO WB read failed on channel {0}", + "RT2WB read failed on channel {0}", channel, 0, 0); } /* input FIFO is empty - keep waiting */