From 20cf905c96530075eab84294cac0cd086e176b63 Mon Sep 17 00:00:00 2001 From: chengy4 Date: Mon, 18 Jan 2021 17:14:55 +0800 Subject: [PATCH] delete space line --- bsp/hc32f4a0/board/board.h | 1 - bsp/hc32f4a0/drivers/drv_soft_i2c.c | 4 ---- 2 files changed, 5 deletions(-) diff --git a/bsp/hc32f4a0/board/board.h b/bsp/hc32f4a0/board/board.h index dd6d774e92..a35747f13c 100644 --- a/bsp/hc32f4a0/board/board.h +++ b/bsp/hc32f4a0/board/board.h @@ -9,7 +9,6 @@ * 2021-01-18 CDT MOdify SRAM_SIZE */ - #ifndef __BOARD_H__ #define __BOARD_H__ diff --git a/bsp/hc32f4a0/drivers/drv_soft_i2c.c b/bsp/hc32f4a0/drivers/drv_soft_i2c.c index 473237ebc4..4ee69b8de2 100644 --- a/bsp/hc32f4a0/drivers/drv_soft_i2c.c +++ b/bsp/hc32f4a0/drivers/drv_soft_i2c.c @@ -9,7 +9,6 @@ * 2021-01-18 CDT modify i2c gpio init */ - /******************************************************************************* * Include files ******************************************************************************/ @@ -66,10 +65,8 @@ static const struct hc32_soft_i2c_config soft_i2c_config[] = #endif }; - static struct hc32_i2c i2c_obj[sizeof(soft_i2c_config) / sizeof(soft_i2c_config[0])]; - /******************************************************************************* * Function implementation - global ('extern') and local ('static') ******************************************************************************/ @@ -203,7 +200,6 @@ int hc32_hw_i2c_init(void) } INIT_BOARD_EXPORT(hc32_hw_i2c_init); - #endif /* RT_USING_I2C */ /*******************************************************************************