Skip to content

Commit a178758

Browse files
committed
Fix Typos: __read_pmpcfg3 to __write_pmpcfg3
1 parent 7038df3 commit a178758

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/register/pmpcfgx.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ pub mod pmpcfg3 {
161161
use bit_field::BitField;
162162

163163
read_csr_as!(Pmpcsr, 0x3A3, __read_pmpcfg3);
164-
write_csr_as_usize_rv32!(0x3A3, __read_pmpcfg3);
164+
write_csr_as_usize_rv32!(0x3A3, __write_pmpcfg3);
165165
set!(0x3A3, __set_pmpcfg3);
166166
clear!(0x3A3, __clear_pmpcfg3);
167167

0 commit comments

Comments
 (0)