aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--embassy-nrf/src/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/embassy-nrf/src/lib.rs b/embassy-nrf/src/lib.rs
index db71dee10..584d0a0be 100644
--- a/embassy-nrf/src/lib.rs
+++ b/embassy-nrf/src/lib.rs
@@ -845,9 +845,9 @@ pub fn init(config: config::Config) -> Peripherals {
845 // Chips with a certain chip type-specific build code or higher have an 845 // Chips with a certain chip type-specific build code or higher have an
846 // improved APPROTECT ("hardware and software controlled access port protection") 846 // improved APPROTECT ("hardware and software controlled access port protection")
847 // which needs explicit action by the firmware to keep it unlocked 847 // which needs explicit action by the firmware to keep it unlocked
848 // See https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/working-with-the-nrf52-series-improved-approtect 848 // See https://docs.nordicsemi.com/bundle/ps_nrf52840/page/dif.html#d402e184
849 849
850 // UICR.APPROTECT = SwDisabled 850 // UICR.APPROTECT = HwDisabled
851 let res = uicr_write(consts::UICR_APPROTECT, consts::APPROTECT_DISABLED); 851 let res = uicr_write(consts::UICR_APPROTECT, consts::APPROTECT_DISABLED);
852 needs_reset |= res == WriteResult::Written; 852 needs_reset |= res == WriteResult::Written;
853 // APPROTECT.DISABLE = SwDisabled 853 // APPROTECT.DISABLE = SwDisabled