From 6e7f8a36ffa31d4db0092fcd03367e9f92f5c305 Mon Sep 17 00:00:00 2001 From: "dzzxzz@gmail.com" Date: Mon, 18 Jun 2012 08:25:41 +0000 Subject: 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 --- bsp/efm32/drv_iic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bsp/efm32') 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; -- cgit v1.3.1