定义Timer设备类

This commit is contained in:
heyuanjie87 2015-09-06 15:18:15 +08:00
parent d19f424909
commit 8f9bda579a
2 changed files with 3 additions and 3 deletions

View File

@ -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"
};

View File

@ -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 */
};