We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e279538 commit 56fe4c8Copy full SHA for 56fe4c8
riscv/src/register/mtopi.rs
@@ -66,7 +66,7 @@ mod tests {
66
test_ro_csr_field!(mtopi, iid: [16, 27], 0x0);
67
test_ro_csr_field!(mtopi, iprio: [0, 7], 0x0);
68
69
- let mtopi = Mtopi::from_bits((11 << 16) | 5);
+ let mtopi = Mtopi::from_bits((0xB << 16) | 5);
70
test_ro_csr_field!(mtopi, iid: [16, 27], 0xB);
71
test_ro_csr_field!(mtopi, iprio: [0, 7], 0x5);
72
0 commit comments