From 88936f08364612822ac02901f5bd2bf4a752f582 Mon Sep 17 00:00:00 2001 From: SchumyHao Date: Thu, 16 Apr 2015 21:08:07 +0800 Subject: [PATCH] format --- components/drivers/spi/spi_flash_w25qxx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/drivers/spi/spi_flash_w25qxx.c b/components/drivers/spi/spi_flash_w25qxx.c index 2de71e3498..2ff0d57c9f 100644 --- a/components/drivers/spi/spi_flash_w25qxx.c +++ b/components/drivers/spi/spi_flash_w25qxx.c @@ -347,7 +347,7 @@ rt_err_t w25qxx_init(const char * flash_device_name, const char * spi_device_nam FLASH_TRACE("W25Q16DW detection\r\n"); spi_flash_device.geometry.sector_count = 512; } - else if(memory_type_capacity == MTC_W25Q80_BV) + else if(memory_type_capacity == MTC_W25Q80_BV) { FLASH_TRACE("W25Q80BV detection\r\n"); spi_flash_device.geometry.sector_count = 256; -- GitLab