diff options
| author | [email protected] <[email protected]> | 2012-06-18 08:25:41 +0000 |
|---|---|---|
| committer | [email protected] <[email protected]> | 2012-06-18 08:25:41 +0000 |
| commit | 6e7f8a36ffa31d4db0092fcd03367e9f92f5c305 (patch) | |
| tree | 003ab76add269e4d45e4506ba5483c527445a13e /bsp/efm32 | |
| parent | 9d53578c5481eb8a50c3280e0fad292dbb84e532 (diff) | |
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
Diffstat (limited to 'bsp/efm32')
| -rw-r--r-- | bsp/efm32/drv_iic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bsp/efm32/drv_iic.c b/bsp/efm32/drv_iic.c index b709f1bdec..233064da91 100644 --- a/bsp/efm32/drv_iic.c +++ b/bsp/efm32/drv_iic.c @@ -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; |
