Merge pull request #3546 from plaes/fix-debug

nrf: Remove leftover info message and fix link to errata
This commit is contained in:
Ulf Lilleengen 2024-11-19 11:54:43 +00:00 committed by GitHub
commit 0f95c72e78
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 1 additions and 2 deletions

View File

@ -350,7 +350,6 @@ impl<'d> Flex<'d> {
convert_drive(w, drive);
w.set_sense(vals::Sense::DISABLED);
});
info!("pin_cnf: {:08x}", self.pin.conf().read().0);
}
/// Put the pin into input + output mode.

View File

@ -546,7 +546,7 @@ impl<'d, T: Instance> Drop for Qspi<'d, T> {
// it seems events_ready is not generated in response to deactivate. nrfx doesn't wait for it.
r.tasks_deactivate().write_value(1);
// Workaround https://infocenter.nordicsemi.com/topic/errata_nRF52840_Rev1/ERR/nRF52840/Rev1/latest/anomaly_840_122.html?cp=4_0_1_2_1_7
// Workaround https://docs.nordicsemi.com/bundle/errata_nRF52840_Rev3/page/ERR/nRF52840/Rev3/latest/anomaly_840_122.html
// Note that the doc has 2 register writes, but the first one is really the write to tasks_deactivate,
// so we only do the second one here.
unsafe { ptr::write_volatile(0x40029054 as *mut u32, 1) }