Merge pull request #152 from gustavonihei/bugfix/early_rwdt_disable

rtc: Disable Flashboot mode when disabling RTC Watchdog timer
This commit is contained in:
Björn Quentin 2022-08-16 17:25:19 +02:00 committed by GitHub
commit 97d1c1e997
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -508,7 +508,7 @@ impl WatchdogDisable for Rwdt {
self.set_write_protection(false); self.set_write_protection(false);
rtc_cntl.wdtconfig0.modify(|_, w| w.wdt_en().clear_bit()); rtc_cntl.wdtconfig0.modify(|_, w| w.wdt_en().clear_bit().wdt_flashboot_mod_en().clear_bit());
self.set_write_protection(true); self.set_write_protection(true);
} }