mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-08-20 21:29:42 +08:00
[drivers][core] 完善设备模型 (#8384)
This commit is contained in:
@@ -1470,6 +1470,7 @@ enum rt_device_class_type
|
||||
*/
|
||||
#define RT_DEVICE_CTRL_BASE(Type) ((RT_Device_Class_##Type + 1) * 0x100)
|
||||
|
||||
typedef struct rt_driver *rt_driver_t;
|
||||
typedef struct rt_device *rt_device_t;
|
||||
|
||||
#ifdef RT_USING_DEVICE_OPS
|
||||
|
||||
Reference in New Issue
Block a user