mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-07-22 14:01:50 +08:00
if_atsam: Remove WDT_Disable()
The watchdog timer (WDT) can be configure only once. Do not touch it in the BSP since the application may want to use it.
This commit is contained in:
parent
103d31c044
commit
eeb3fd5d9b
@ -994,9 +994,6 @@ static void if_atsam_init(void *arg)
|
||||
ifp->if_flags |= IFF_DRV_RUNNING;
|
||||
sc->interrupt_number = GMAC_IRQn;
|
||||
|
||||
/* Disable Watchdog */
|
||||
WDT_Disable(WDT);
|
||||
|
||||
/* Enable Peripheral Clock */
|
||||
if ((PMC->PMC_PCSR1 & (1u << 7)) != (1u << 7)) {
|
||||
PMC->PMC_PCER1 = 1 << 7;
|
||||
|
Loading…
x
Reference in New Issue
Block a user