mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-03-27 09:32:28 +08:00
convert dos endline to unix endline; cleanup schedule code for STM32
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@49 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
@@ -528,7 +528,7 @@ enum rt_device_class_type
|
||||
RT_Device_Class_Block, /* block device */
|
||||
RT_Device_Class_NetIf, /* net interface */
|
||||
RT_Device_Class_MTD, /* memory device */
|
||||
RT_Device_Class_CAN, /* CAN device */
|
||||
RT_Device_Class_CAN, /* CAN device */
|
||||
RT_Device_Class_RTC, /* RTC device */
|
||||
RT_Device_Class_Unknown /* unknown device */
|
||||
};
|
||||
@@ -566,9 +566,9 @@ enum rt_device_class_type
|
||||
#define RT_DEVICE_CTRL_BLK_GETGEOME 0x10 /* get geometry information */
|
||||
#define RT_DEVICE_CTRL_NETIF_GETMAC 0x10 /* get mac address */
|
||||
#define RT_DEVICE_CTRL_MTD_FORMAT 0x10 /* format a MTD device */
|
||||
#define RT_DEVICE_CTRL_RTC_GET_TIME 0x10 /* get time */
|
||||
#define RT_DEVICE_CTRL_RTC_GET_TIME 0x10 /* get time */
|
||||
#define RT_DEVICE_CTRL_RTC_SET_TIME 0x11 /* set time */
|
||||
|
||||
|
||||
typedef struct rt_device* rt_device_t;
|
||||
/*
|
||||
* Device related structure
|
||||
|
||||
Reference in New Issue
Block a user