Skip to content

Commit 7415500

Browse files
Merge branch 'mtopi' of github.com:KushalMeghani1644/riscv into mtopi
2 parents 7b691f1 + 56fe4c8 commit 7415500

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

riscv/src/register/mtopi.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ mod tests {
6666
test_ro_csr_field!(mtopi, iid: [16, 27], 0x0);
6767
test_ro_csr_field!(mtopi, iprio: [0, 7], 0x0);
6868

69-
let mtopi = Mtopi::from_bits((11 << 16) | 5);
69+
let mtopi = Mtopi::from_bits((0xB << 16) | 5);
7070
test_ro_csr_field!(mtopi, iid: [16, 27], 0xB);
7171
test_ro_csr_field!(mtopi, iprio: [0, 7], 0x5);
7272

0 commit comments

Comments
 (0)