diff options
Diffstat (limited to 'components')
| -rw-r--r-- | components/drivers/watchdog/watchdog.c | 2 | ||||
| -rw-r--r-- | components/finsh/cmd.c | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/components/drivers/watchdog/watchdog.c b/components/drivers/watchdog/watchdog.c index 9108d834c6..d26626863d 100644 --- a/components/drivers/watchdog/watchdog.c +++ b/components/drivers/watchdog/watchdog.c @@ -89,7 +89,7 @@ rt_err_t rt_hw_watchdog_register(struct rt_watchdog_device *wtd, device = &(wtd->parent); - device->type = RT_Device_Class_Miscellaneous; + device->type = RT_Device_Class_Security; device->rx_indicate = RT_NULL; device->tx_complete = RT_NULL; diff --git a/components/finsh/cmd.c b/components/finsh/cmd.c index 5f0bbb6d59..fd08246fa5 100644 --- a/components/finsh/cmd.c +++ b/components/finsh/cmd.c @@ -822,6 +822,7 @@ static char *const device_type_str[] = "Sensor Device", "Touch Device", "Phy Device", + "Security Device", "Unknown" }; |
