From f29989094cde5a672a2192e2141239c77c36e4cc Mon Sep 17 00:00:00 2001 From: "luohui2320@gmail.com" Date: Tue, 22 May 2012 18:10:03 +0000 Subject: [PATCH] ADD I2C BUS device type git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2130 bbd45198-f89e-11dd-88c7-29a3b14d5316 --- include/rtdef.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/rtdef.h b/include/rtdef.h index 67fda14610..6bd8ed002e 100644 --- a/include/rtdef.h +++ b/include/rtdef.h @@ -628,7 +628,8 @@ enum rt_device_class_type RT_Device_Class_RTC, /**< RTC device */ RT_Device_Class_Sound, /**< Sound device */ RT_Device_Class_Graphic, /**< Graphic device */ - RT_Device_Class_I2C, /**< I2C device */ + RT_Device_Class_I2CBUS, /**< I2C bus device */ + RT_Device_Class_I2CDevice, /**< I2C device */ RT_Device_Class_USBDevice, /**< USB slave device */ RT_Device_Class_USBHost, /**< USB host bus */ RT_Device_Class_SPIBUS, /**< SPI bus device */ -- GitLab