Skip to content

Commit 56fe4c8

Browse files
Update riscv/src/register/mtopi.rs
Co-authored-by: Román Cárdenas Rodríguez <rcardenas.rod@gmail.com>
1 parent e279538 commit 56fe4c8

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)