summaryrefslogtreecommitdiff
path: root/bsp/efm32
diff options
context:
space:
mode:
Diffstat (limited to 'bsp/efm32')
-rw-r--r--bsp/efm32/drv_iic.c2
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;