Explorar o código

Fix Typos: __read_pmpcfg3 to __write_pmpcfg3

dkhayes117 %!s(int64=3) %!d(string=hai) anos
pai
achega
a1787582a0
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/register/pmpcfgx.rs

+ 1 - 1
src/register/pmpcfgx.rs

@@ -161,7 +161,7 @@ pub mod pmpcfg3 {
     use bit_field::BitField;
 
     read_csr_as!(Pmpcsr, 0x3A3, __read_pmpcfg3);
-    write_csr_as_usize_rv32!(0x3A3, __read_pmpcfg3);
+    write_csr_as_usize_rv32!(0x3A3, __write_pmpcfg3);
     set!(0x3A3, __set_pmpcfg3);
     clear!(0x3A3, __clear_pmpcfg3);