修改喂狗芯片为100ms

This commit is contained in:
2026-04-26 15:54:52 +08:00
parent 9af585b664
commit f27cebde4d
12 changed files with 103 additions and 26 deletions

View File

@@ -18,7 +18,6 @@
#include "regs_base.h"
#include "phy/phy.h"
#include "sdrv_mac_lld.h"
#include <wdt_refresh.h>
static uint8_t deafult_mac_addr[6] = {0x00, 0x1f, 0x29, 0x00, 0x12, 0x15};
@@ -658,7 +657,7 @@ int32_t dwmac_dma_reset(uint32_t regbase)
if (!(readl(regbase + DMA_BUS_MODE) & DMA_BUS_MODE_SFT_RESET))
break;
mdelay(1); //20251106 <20>޸<EFBFBD>Ϊ1<CEAA><31>10ʵ<30><CAB5><EFBFBD><EFBFBD>ʱΪ140ms
mdelay(1);//20251106 <20>޸<EFBFBD>Ϊ1<CEAA><31>10ʵ<30><CAB5><EFBFBD><EFBFBD>ʱΪ140ms
}
if (limit <= 0) {