From 391af0313fcd4bf434708c2f97c85e902cdac203 Mon Sep 17 00:00:00 2001 From: bunnie Date: Tue, 21 Oct 2025 19:15:22 +0800 Subject: [PATCH] fix typo --- libs/bao1x-hal/src/coreuser.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/bao1x-hal/src/coreuser.rs b/libs/bao1x-hal/src/coreuser.rs index e9fb61ec4..ebaa005c5 100644 --- a/libs/bao1x-hal/src/coreuser.rs +++ b/libs/bao1x-hal/src/coreuser.rs @@ -157,7 +157,7 @@ impl Coreuser { // this is a manual patch of the table inside `set()`: entry 7 is for the boot value, // and we're patching this up to the trusted user setting. self.csr.rmwf(utra::coreuser::MAP_HI_LUT7, 0); - self.csr.rmwf(utra::coreuser::USERVALUE_USER7, CoreuserId::TRUSTED_USER.as_dense()); + self.csr.rmwf(utra::coreuser::USERVALUE_USER7, TRUSTED_USER.as_dense()); } /// Sets a "one way door" that disallows any further updating to these fields.