Browse Source

Merge pull request #2938 from yangjie11/iwg_to_wdt

[bsp][swm320-lq100]修改看门狗设备名称与stm32保持一致
Bernard Xiong 5 years ago
parent
commit
882ba628bc
1 changed files with 1 additions and 1 deletions
  1. 1 1
      bsp/swm320-lq100/drivers/drv_iwg.c

+ 1 - 1
bsp/swm320-lq100/drivers/drv_iwg.c

@@ -63,7 +63,7 @@ int rt_hw_wdt_init(void)
     swm320_wdt.ops = &swm320_wdt_ops;
     swm320_wdt.ops = &swm320_wdt_ops;
 
 
     result = rt_hw_watchdog_register(&swm320_wdt,
     result = rt_hw_watchdog_register(&swm320_wdt,
-                                     "iwg",
+                                     "wdt",
                                      RT_DEVICE_FLAG_RDWR,
                                      RT_DEVICE_FLAG_RDWR,
                                      WDT);
                                      WDT);