chore: update error messages in expect() calls

This commit is contained in:
2021-07-08 18:50:58 -05:00
parent 4f3fc3136d
commit 9b3a5d49d2
4 changed files with 16 additions and 10 deletions

View File

@@ -30,7 +30,7 @@ impl DirectMemoryAccess {
.start
.addr
.as_mut()
.expect("DMA Transfer Attempted without a known source address");
.expect("Source Address present during DMA Transfer");
let addresses = if (self.cycle - 4) % 4 == 0 {
*src_addr += 1;