mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-11-09 20:45:41 +08:00
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:
1 parent
9d53578c54
commit
6e7f8a36ff
2 files changed
+64
-65
No files matched your search
+1
-1
@@ -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
Reference in new issue
Block a user