summaryrefslogtreecommitdiff
path: root/include/rtdef.h
diff options
context:
space:
mode:
authorbernard.xiong <[email protected]>2009-09-20 23:43:51 +0000
committerbernard.xiong <[email protected]>2009-09-20 23:43:51 +0000
commit8e76594241df201aee2a204ad797c6ec0adb6bec (patch)
treec99d24c95fd68864d5ebd12664144a9186b1c1b8 /include/rtdef.h
parent04234d1821be9b5686dd661a448270f2092ae05d (diff)
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
Diffstat (limited to 'include/rtdef.h')
-rw-r--r--include/rtdef.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/rtdef.h b/include/rtdef.h
index 027440fc48..24d4bc8f02 100644
--- a/include/rtdef.h
+++ b/include/rtdef.h
@@ -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