From 8f9bda579a4027cd88e44d6dcdfd61fc5d667a6f Mon Sep 17 00:00:00 2001 From: heyuanjie87 Date: Sun, 6 Sep 2015 15:18:15 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=9A=E4=B9=89Timer=E8=AE=BE=E5=A4=87?= =?UTF-8?q?=E7=B1=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/finsh/cmd.c | 2 +- include/rtdef.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/components/finsh/cmd.c b/components/finsh/cmd.c index 6e2ca631e3..c42b412f23 100644 --- a/components/finsh/cmd.c +++ b/components/finsh/cmd.c @@ -467,8 +467,8 @@ static long _list_device(struct rt_list_node *list) "PM Pseudo Device", "Pipe", "Portal Device", + "Timer Device", "Miscellaneous Device", - "Hardware Timer Device", "Unknown" }; diff --git a/include/rtdef.h b/include/rtdef.h index eda5d5da79..a3dad27989 100644 --- a/include/rtdef.h +++ b/include/rtdef.h @@ -758,8 +758,8 @@ enum rt_device_class_type RT_Device_Class_PM, /**< PM pseudo device */ RT_Device_Class_Pipe, /**< Pipe device */ RT_Device_Class_Portal, /**< Portal device */ - RT_Device_Class_Miscellaneous, /**< Miscellaneous device */ - RT_Device_Class_HwTimer, /**< Hardware timer device */ + RT_Device_Class_Timer, /**< Timer device */ + RT_Device_Class_Miscellaneous, /**< Miscellaneous device */ RT_Device_Class_Unknown /**< unknown device */ }; -- GitLab