fixed compiling error, RT_Device_Class_I2C is not defined in rtdef.h

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2173 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
dzzxzz@gmail.com committed 2012-06-18 08:25:41 +00:00
1 parent 9d53578c54
commit 6e7f8a36ff
2 files changed
+64 -65

No files matched your search

+1 -1
View File
@@ -609,7 +609,7 @@ rt_err_t rt_hw_iic_register(
RT_ASSERT(0);
}
device->type = RT_Device_Class_I2C;
device->type = RT_Device_Class_Unknown;
device->rx_indicate = RT_NULL;
device->tx_complete = RT_NULL;
device->init = rt_iic_init;
File diff suppressed because it is too large. Load diff